From 6fa306099ffc874d40cbea192aded8cfd90750bf Mon Sep 17 00:00:00 2001 From: matrixthecow Date: Thu, 14 Nov 2024 17:35:38 +0100 Subject: [PATCH] Just settling for trailing slash --- alexanderristinmaa/app/(homepage)/layout.tsx | 4 ++-- alexanderristinmaa/next.config.mjs | 2 +- firebase.json | 6 ------ 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/alexanderristinmaa/app/(homepage)/layout.tsx b/alexanderristinmaa/app/(homepage)/layout.tsx index e631b35..6d37b92 100644 --- a/alexanderristinmaa/app/(homepage)/layout.tsx +++ b/alexanderristinmaa/app/(homepage)/layout.tsx @@ -33,8 +33,8 @@ export default function RootLayout({
{/*Bloggen*/} - Vem är jag - Konsthall + Vem är jag + Konsthall
diff --git a/alexanderristinmaa/next.config.mjs b/alexanderristinmaa/next.config.mjs index d38c65c..47593e5 100644 --- a/alexanderristinmaa/next.config.mjs +++ b/alexanderristinmaa/next.config.mjs @@ -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 = { diff --git a/firebase.json b/firebase.json index 6fae8a0..ff808f4 100644 --- a/firebase.json +++ b/firebase.json @@ -5,12 +5,6 @@ "firebase.json", "**/.*", "**/node_modules/**" - ], - "rewrites": [ - { - "source": "**", - "destination": "[...params].html" - } ] }, "emulators": {