mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 20:33:44 -07:00
netlify test
This commit is contained in:
parent
e931063aa2
commit
8ca4a302f9
3 changed files with 62 additions and 143 deletions
|
|
@ -1,14 +1,17 @@
|
|||
import { defineConfig } from "astro/config";
|
||||
import vercel from "@astrojs/vercel";
|
||||
import tailwind from "@astrojs/tailwind";
|
||||
|
||||
import netlify from "@astrojs/netlify";
|
||||
|
||||
export default defineConfig({
|
||||
output: "server",
|
||||
adapter: vercel(),
|
||||
|
||||
image: {
|
||||
remotePatterns: [{ protocol: "https" }],
|
||||
},
|
||||
|
||||
integrations: [tailwind()],
|
||||
|
||||
vite: {
|
||||
define: {
|
||||
'process.env.PRIMARY_REDIS_URL': JSON.stringify(process.env.PRIMARY_REDIS_URL || process.env.REDIS_URL),
|
||||
|
|
@ -16,5 +19,7 @@ export default defineConfig({
|
|||
'process.env.REPLICA_REDIS_URL_2': JSON.stringify(process.env.REPLICA_REDIS_URL_2),
|
||||
'process.env.REPLICA_REDIS_URL_3': JSON.stringify(process.env.REPLICA_REDIS_URL_3)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
adapter: netlify()
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue