Skip to content

Commit

Permalink
[skip ci] fix slash
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Feb 1, 2024
1 parent 540cca9 commit 69f2e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/vite-plugin-astro-server/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function baseMiddleware(
fs.stat(publicPath, (_err, stats) => {
if (stats) {
const publicDir = appendForwardSlash(
path.relative(config.root.pathname, config.publicDir.pathname)
path.posix.relative(config.root.pathname, config.publicDir.pathname)
);
const expectedLocation = new URL(devRootURL.pathname + url, devRootURL).pathname;

Expand Down

0 comments on commit 69f2e2c

Please sign in to comment.