Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔧 Allow serving static assets from a separate host (#3467)
Luke Vellaeecd22005108
diff --git a/apps/web/next.config.ts b/apps/web/next.config.tsindex 51a311be6..2940f7b46 100644--- a/apps/web/next.config.ts+++ b/apps/web/next.config.ts@@ -29,7 +29,10 @@ const nextConfig: NextConfig = {"@rallly/posthog","@rallly/emails",],- assetPrefix: process.env.NEXT_PUBLIC_BASE_URL,+ // Cloud serves /_next/static from a CDN-cached host to keep the immutable+ // bundles off Vercel's bandwidth bill. Unset everywhere else.+ assetPrefix:+ process.env.NEXT_PUBLIC_ASSET_PREFIX ?? process.env.NEXT_PUBLIC_BASE_URL,webpack(config) {config.module.rules.push({test: /\.svg$/,