Skip to content

Commit

Permalink
Just settling for trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
alexristinmaa committed Nov 14, 2024
1 parent b2f5dcb commit 6fa3060
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions alexanderristinmaa/app/(homepage)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export default function RootLayout({
</div>
<div className={styles.navRight}>
{/*<Link className={styles.navLink} href='/blog'><b>Bloggen</b></Link>*/}
<Link className={`${styles.navLink} ${pathname == '/alex' ? styles.active : ''}`} href='/alex'>Vem är jag</Link>
<Link className={`${styles.navLink} ${pathname == '/gallery' ? styles.active : ''}`} href='/gallery'>Konsthall</Link>
<Link className={`${styles.navLink} ${pathname == '/alex/' ? styles.active : ''}`} href='/alex'>Vem är jag</Link>
<Link className={`${styles.navLink} ${pathname == '/gallery/' ? styles.active : ''}`} href='/gallery'>Konsthall</Link>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion alexanderristinmaa/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
trailingSlash: false,
trailingSlash: true,
webpack(config, { isServer, dev }) {
// Since Webpack 5 doesn't enable WebAssembly by default, we should do it manually
config.experiments = {
Expand Down
6 changes: 0 additions & 6 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "[...params].html"
}
]
},
"emulators": {
Expand Down

0 comments on commit 6fa3060

Please sign in to comment.