fix: apply basePath correctly in dev mode for root index (#3219)

## Summary
- Fixed an issue where basePath was not correctly applied in dev mode
for the root index route
- The dev server now uses root path "/" while preserving the configured
basePath for the main app
This commit is contained in:
Sato Takayuki
2026-03-29 21:17:17 +02:00
committed by GitHub
parent ee9d1d04e7
commit 19d3589b9b
3 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ export type ListenOptions =
& {
remoteAddress?: string;
};
function createOnListen(
export function createOnListen(
basePath: string,
options: ListenOptions,
): (localAddr: Deno.NetAddr) => void {