summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/test/hosted/hosted-astro-project/astro.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/netlify/test/hosted/hosted-astro-project/astro.config.mjs')
-rw-r--r--packages/integrations/netlify/test/hosted/hosted-astro-project/astro.config.mjs19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/integrations/netlify/test/hosted/hosted-astro-project/astro.config.mjs b/packages/integrations/netlify/test/hosted/hosted-astro-project/astro.config.mjs
new file mode 100644
index 000000000..94cc00f7b
--- /dev/null
+++ b/packages/integrations/netlify/test/hosted/hosted-astro-project/astro.config.mjs
@@ -0,0 +1,19 @@
+import netlify from '@astrojs/netlify';
+import { defineConfig } from 'astro/config';
+
+// https://astro.build/config
+export default defineConfig({
+ output: 'server',
+ adapter: netlify({
+ edgeMiddleware: true,
+ }),
+ image: {
+ remotePatterns: [
+ {
+ protocol: 'https',
+ hostname: 'images.unsplash.com',
+ pathname: '/photo-1567674867291-b2595ac53ab4',
+ },
+ ],
+ },
+});