mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
fix: update tests (#12586)
Co-authored-by: matthewp <361671+matthewp@users.noreply.github.com>
This commit is contained in:
parent
10c6b8d720
commit
3a76353248
5 changed files with 29 additions and 2 deletions
7
packages/astro/test/fixtures/astro-cookies/astro.config.mjs
vendored
Normal file
7
packages/astro/test/fixtures/astro-cookies/astro.config.mjs
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { defineConfig } from "astro/config";
|
||||
|
||||
export default defineConfig({
|
||||
security: {
|
||||
checkOrigin: false
|
||||
}
|
||||
})
|
7
packages/astro/test/fixtures/redirects/astro.config.mjs
vendored
Normal file
7
packages/astro/test/fixtures/redirects/astro.config.mjs
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { defineConfig } from "astro/config";
|
||||
|
||||
export default defineConfig({
|
||||
security: {
|
||||
checkOrigin: false
|
||||
}
|
||||
})
|
|
@ -2,5 +2,8 @@ import {defineConfig} from 'astro/config';
|
|||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: "https://example.com"
|
||||
site: "https://example.com",
|
||||
security: {
|
||||
checkOrigin: false
|
||||
}
|
||||
});
|
||||
|
|
|
@ -3,5 +3,8 @@ import {defineConfig} from 'astro/config';
|
|||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: "server",
|
||||
site: "https://example.com"
|
||||
site: "https://example.com",
|
||||
security: {
|
||||
checkOrigin: false
|
||||
}
|
||||
});
|
||||
|
|
7
packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs
vendored
Normal file
7
packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { defineConfig } from "astro/config";
|
||||
|
||||
export default defineConfig({
|
||||
security: {
|
||||
checkOrigin: false
|
||||
}
|
||||
})
|
Loading…
Reference in a new issue