Skip to content

Commit feec563

Browse files
committed
added amplify adapter
1 parent 21952e4 commit feec563

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

astro.config.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import mdx from "@astrojs/mdx";
22
import react from "@astrojs/react";
33
import tailwind from "@astrojs/tailwind";
4-
//import awsAmplify from "astro-aws-amplify";
4+
import awsAmplify from "astro-aws-amplify";
55
import { defineConfig, passthroughImageService } from "astro/config";
66

77
// https://astro.build/config
@@ -27,7 +27,9 @@ export default defineConfig({
2727
})
2828
],
2929
//adapter: node({ mode: "standalone" }),
30-
output: "static",
30+
//output: "static",
31+
output: "server",
32+
adapter: awsAmplify(),
3133
build: {
3234
format: "directory"
3335
},

0 commit comments

Comments
 (0)