summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/test/fixtures/astro-cookies/astro.config.mjs7
-rw-r--r--packages/astro/test/fixtures/redirects/astro.config.mjs7
-rw-r--r--packages/astro/test/fixtures/reroute/astro.config.mjs5
-rw-r--r--packages/astro/test/fixtures/rewrite-server/astro.config.mjs5
-rw-r--r--packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs7
5 files changed, 29 insertions, 2 deletions
diff --git a/packages/astro/test/fixtures/astro-cookies/astro.config.mjs b/packages/astro/test/fixtures/astro-cookies/astro.config.mjs
new file mode 100644
index 000000000..1ddc69dcc
--- /dev/null
+++ b/packages/astro/test/fixtures/astro-cookies/astro.config.mjs
@@ -0,0 +1,7 @@
+import { defineConfig } from "astro/config";
+
+export default defineConfig({
+ security: {
+ checkOrigin: false
+ }
+})
diff --git a/packages/astro/test/fixtures/redirects/astro.config.mjs b/packages/astro/test/fixtures/redirects/astro.config.mjs
new file mode 100644
index 000000000..1ddc69dcc
--- /dev/null
+++ b/packages/astro/test/fixtures/redirects/astro.config.mjs
@@ -0,0 +1,7 @@
+import { defineConfig } from "astro/config";
+
+export default defineConfig({
+ security: {
+ checkOrigin: false
+ }
+})
diff --git a/packages/astro/test/fixtures/reroute/astro.config.mjs b/packages/astro/test/fixtures/reroute/astro.config.mjs
index c800d0dda..b03ed31e2 100644
--- a/packages/astro/test/fixtures/reroute/astro.config.mjs
+++ b/packages/astro/test/fixtures/reroute/astro.config.mjs
@@ -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
+ }
});
diff --git a/packages/astro/test/fixtures/rewrite-server/astro.config.mjs b/packages/astro/test/fixtures/rewrite-server/astro.config.mjs
index ecd3b2518..14db3602c 100644
--- a/packages/astro/test/fixtures/rewrite-server/astro.config.mjs
+++ b/packages/astro/test/fixtures/rewrite-server/astro.config.mjs
@@ -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
+ }
});
diff --git a/packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs b/packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs
new file mode 100644
index 000000000..1ddc69dcc
--- /dev/null
+++ b/packages/astro/test/fixtures/ssr-error-pages/astro.config.mjs
@@ -0,0 +1,7 @@
+import { defineConfig } from "astro/config";
+
+export default defineConfig({
+ security: {
+ checkOrigin: false
+ }
+})