Skip to content

Commit fb64117

Browse files
committed
Hindrer redirects fra /_/* i dev
1 parent 589555d commit fb64117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/server-setup/server-setup-dev.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const serverSetupDev = (expressApp: Express, nextApp: NextServer) => {
1616
// These paths should never redirect, to ensure the site will load correctly
1717
// when accessed from the Content Studio editor
1818
expressApp.all(
19-
['/draft/*', '/archive/*', '/editor/*', '/_next/*', '/gfx/*', '/api/*'],
19+
['/draft/*', '/archive/*', '/editor/*', '/_next/*', '/gfx/*', '/api/*', '/_/*'],
2020
(req, res) => {
2121
return nextRequestHandler(req, res);
2222
}

0 commit comments

Comments
 (0)