Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🔧 Add assetPrefix
Luke Vellab7cf1282e2fe
diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex e1f36b8a6..294c64417 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -20,6 +20,7 @@ const nextConfig = {"@rallly/posthog","@rallly/emails",],+ assetPrefix: process.env.NEXT_PUBLIC_BASE_URL,webpack(config) {config.module.rules.push({test: /\.svg$/,diff --git a/apps/web/src/app/[locale]/layout.tsx b/apps/web/src/app/[locale]/layout.tsxindex 639a6c4e8..b6b2accea 100644--- a/apps/web/src/app/[locale]/layout.tsx+++ b/apps/web/src/app/[locale]/layout.tsx@@ -13,7 +13,6 @@ import type { Params } from "@/app/[locale]/types";import { requireUser } from "@/auth/data";import { UserProvider } from "@/components/user-provider";import { PreferencesProvider } from "@/contexts/preferences";-import { env } from "@/env";import type { UserDTO } from "@/features/user/schema";import { I18nProvider } from "@/i18n/client";import { FeatureFlagsProvider } from "@/lib/feature-flags/client";@@ -73,9 +72,6 @@ export default async function Root({return (<html lang={locale} className={inter.className}>- <head>- <base href={env.NEXT_PUBLIC_BASE_URL} />- </head><body><FeatureFlagsProvider value={featureFlagConfig}><Toaster />