mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 20:33:44 -07:00
does this work?
This commit is contained in:
parent
8271bc4957
commit
24eeb93f68
5 changed files with 104 additions and 84 deletions
|
|
@ -4,7 +4,11 @@ import tailwind from "@astrojs/tailwind";
|
|||
|
||||
export default defineConfig({
|
||||
output: "server",
|
||||
adapter: vercel(),
|
||||
adapter: vercel({
|
||||
analytics: true,
|
||||
maxDuration: 60,
|
||||
includeFiles: ['.env'],
|
||||
}),
|
||||
image: {
|
||||
remotePatterns: [{ protocol: "https" }],
|
||||
},
|
||||
|
|
@ -14,7 +18,13 @@ export default defineConfig({
|
|||
'process.env.PRIMARY_REDIS_URL': JSON.stringify(process.env.PRIMARY_REDIS_URL || process.env.REDIS_URL),
|
||||
'process.env.REPLICA_REDIS_URL_1': JSON.stringify(process.env.REPLICA_REDIS_URL_1 || process.env.REPLICA_REDIS_URL),
|
||||
'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)
|
||||
}
|
||||
'process.env.REPLICA_REDIS_URL_3': JSON.stringify(process.env.REPLICA_REDIS_URL_3),
|
||||
'process.env.VERCEL': JSON.stringify(process.env.VERCEL || false)
|
||||
},
|
||||
server: {
|
||||
watch: {
|
||||
usePolling: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue