Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔧 Move local dev domains off rallly.co to avoid prod cookie conflicts (#2463)

Luke Vella7e6fe6c0d821
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 34122d2c5..dce01d490 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -75,7 +75,7 @@ The following instructions are for running the project locally for development.
6. Start the portless proxy
- The dev scripts route the apps through [portless](https://portless.sh), which exposes them at stable HTTPS URLs (e.g. `https://web.local.rallly.co`) instead of `localhost:<port>`.
+ The dev scripts route the apps through [portless](https://portless.sh), which exposes them at stable HTTPS URLs (e.g. `https://web.rallly.test`) instead of `localhost:<port>`.
Start the proxy:
diff --git a/apps/landing/.env.sample b/apps/landing/.env.sample
index 1da573ee7..2c7f58504 100644
--- a/apps/landing/.env.sample
+++ b/apps/landing/.env.sample
@@ -1,8 +1,8 @@
# URL of the main web app
-NEXT_PUBLIC_APP_BASE_URL=http://web.local.rallly.co
+NEXT_PUBLIC_APP_BASE_URL=https://web.rallly.test
# The base url where the landing page is accessible, including the scheme.
-NEXT_PUBLIC_BASE_URL=http://landing.local.rallly.co
+NEXT_PUBLIC_BASE_URL=https://landing.rallly.test
# A connection string to your Postgres database
DATABASE_URL=postgres://postgres:postgres@localhost:5450/rallly
diff --git a/apps/landing/next.config.ts b/apps/landing/next.config.ts
index eb315545c..bfdbbee80 100644
--- a/apps/landing/next.config.ts
+++ b/apps/landing/next.config.ts
@@ -14,7 +14,7 @@ function createAppUrl(subpath: string) {
const nextConfig: NextConfig = {
cacheComponents: true,
- allowedDevOrigins: ["landing.local.rallly.co"],
+ allowedDevOrigins: ["landing.rallly.test"],
productionBrowserSourceMaps: true,
transpilePackages: [
"@rallly/ui",
diff --git a/apps/landing/package.json b/apps/landing/package.json
index 0f2907d9c..40277ec37 100644
--- a/apps/landing/package.json
+++ b/apps/landing/package.json
@@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
- "dev": "portless landing.local.rallly cross-env TAILWIND_MODE=watch next dev --turbopack",
+ "dev": "portless landing.rallly cross-env TAILWIND_MODE=watch next dev --turbopack",
"build": "next build",
"analyze": "cross-env ANALYZE=true next build",
"start": "next start",
diff --git a/apps/web/.env.sample b/apps/web/.env.sample
index e0cc524b7..0008d63c3 100644
--- a/apps/web/.env.sample
+++ b/apps/web/.env.sample
@@ -4,7 +4,7 @@ SECRET_PASSWORD=
# The base url where this instance is accessible, including the scheme.
# Example: https://example.com
-NEXT_PUBLIC_BASE_URL=https://web.local.rallly.co
+NEXT_PUBLIC_BASE_URL=https://web.rallly.test
# A connection string to your Postgres database
DATABASE_URL=postgres://postgres:postgres@localhost:5450/rallly
diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts
index 0bd8fed77..8837d744b 100644
--- a/apps/web/next.config.ts
+++ b/apps/web/next.config.ts
@@ -12,7 +12,7 @@ const withBundleAnalyzer = createBundleAnalyzer({
});
const nextConfig: NextConfig = {
- allowedDevOrigins: ["web.local.rallly.co"],
+ allowedDevOrigins: ["web.rallly.test"],
experimental: {
staleTimes: {
dynamic: 60,
diff --git a/apps/web/package.json b/apps/web/package.json
index 742af8273..4cfe9d819 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
- "dev": "portless web.local.rallly next dev",
+ "dev": "portless web.rallly next dev",
"build": "next build",
"build:test": "NODE_ENV=test next build",
"analyze": "cross-env ANALYZE=true next build",
diff --git a/package.json b/package.json
index 61ce1cc0a..a2c37cd5f 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
"db:seed": "pnpm --filter @rallly/database exec prisma db seed",
"db:push": "pnpm --filter @rallly/database exec prisma db push",
"db:format": "pnpm --filter @rallly/database exec prisma format",
- "proxy:start": "portless proxy start --tld co",
+ "proxy:start": "portless proxy start --tld test",
"proxy:stop": "portless proxy stop",
"docker:up": "docker compose -f docker-compose.dev.yml up -d --wait",
"docker:pull": "docker compose -f docker-compose.dev.yml pull",