mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
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. */
|
/** Base request URL. */
|
||||||
let baseURL = new URL(config.buildOptions.site || '/', defaultOrigin);
|
let baseURL = new URL(config.buildOptions.site || '/', defaultOrigin);
|
||||||
const staticFileServer = sirv(fileURLToPath(config.dist), {
|
const staticFileServer = sirv(fileURLToPath(config.dist), {
|
||||||
|
dev: true,
|
||||||
etag: true,
|
etag: true,
|
||||||
maxAge: 0,
|
maxAge: 0,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue