Skip to content

Commit b2ea555

Browse files
Uglematlarstun
andauthored
Fjernet redirects som ikke funker (#4359)
Redirects i next.config.js funker ikke fordi output: "export". Co-authored-by: Lars Erik Tunby <143407861+larstun@users.noreply.github.com>
1 parent 8eeb67e commit b2ea555

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

apps/skde/next.config.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,4 @@ module.exports = {
99
experimental: {
1010
largePageDataBytes: 1024 * 1000,
1111
},
12-
async redirects() {
13-
return [
14-
{
15-
source: "/helseatlas-test/",
16-
destination: "https://analyser.skde.no/no/rapporter",
17-
permanent: false,
18-
},
19-
{
20-
source: "/helseatlas-test/en/",
21-
destination: "https://analyser.skde.no/en/rapporter",
22-
permanent: false,
23-
},
24-
{
25-
source: "/helseatlas-test/v2/:slug",
26-
destination: "https://analyser.skde.no/no/rapporter/:slug",
27-
permanent: false,
28-
},
29-
{
30-
source: "/helseatlas-test/en/v2/:slug",
31-
destination: "https://analyser.skde.no/en/rapporter/:slug",
32-
permanent: false,
33-
},
34-
];
35-
},
3612
};

0 commit comments

Comments
 (0)