Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Dec 13, 2024
1 parent c3d9ef1 commit e427a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/core/routing/manifest/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ export async function createRouteManifest(
}

const redirectRoutes = createRedirectRoutes(params, routeMap, logger);
if (dev && !config.base) {
if (dev && config.base === '/') {
// Add a redirect for `//` to `/`. We only do this in dev because different platforms
// vary a lot in how or whether they handle this sort of redirect, so we leave it to the adapter
redirectRoutes.push({
Expand Down

0 comments on commit e427a95

Please sign in to comment.