fix eperm ci issue on windows (#2757)
This commit is contained in:
parent
a14075e2a4
commit
602bf2f181
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ export default async function preview(config: AstroConfig, { logging }: PreviewO
|
|||
/** Base request URL. */
|
||||
let baseURL = new URL(config.buildOptions.site || '/', defaultOrigin);
|
||||
const staticFileServer = sirv(fileURLToPath(config.dist), {
|
||||
dev: true,
|
||||
etag: true,
|
||||
maxAge: 0,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue