mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 17:43:44 -07:00
20 lines
No EOL
738 B
JavaScript
20 lines
No EOL
738 B
JavaScript
import { defineConfig } from "astro/config";
|
|
import vercel from "@astrojs/vercel";
|
|
import tailwind from "@astrojs/tailwind";
|
|
|
|
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),
|
|
'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)
|
|
}
|
|
}
|
|
}); |