Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
royallyscrewd committed Jul 15, 2024
2 parents ba4ce76 + 8e0009f commit 05c54df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ const isProd = import.meta.env.PROD;
// https://astro.build/config
export default defineConfig({
site: "https://unimibinside.github.io/sti-website/",
base: isProd ? "/sti-website/" : "/",
base: isProd ? "/sti-website" : "/",
integrations: [tailwind(), react()],
});
1 change: 0 additions & 1 deletion src/components/MenuItem.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const { title, href } = Astro.props;
const base = import.meta.env.BASE_URL.replace(/\/$/, "");
let slug = Astro.url.pathname;
slug = slug.replace(/\/$/, "");
const destination = base + href;
---
Expand Down

0 comments on commit 05c54df

Please sign in to comment.