mirror of
https://github.com/Mail-0/Zero.git
synced 2026-07-01 08:16:28 +00:00
fix: local dev for zero backend
This commit is contained in:
@@ -7,7 +7,9 @@ DATABASE_URL="postgresql://postgres:postgres@localhost:5432/zerodotemail"
|
||||
BETTER_AUTH_SECRET=my-better-auth-secret
|
||||
BETTER_AUTH_URL=http://localhost:3000
|
||||
BETTER_AUTH_TRUSTED_ORIGINS=http://localhost:3000
|
||||
COOKIE_DOMAIN=localhost
|
||||
|
||||
COOKIE_DOMAIN="localhost"
|
||||
|
||||
# Change to your project's client ID and secret, these work with localhost:3000 and localhost:3001
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
@@ -27,6 +29,7 @@ AI_SYSTEM_PROMPT=""
|
||||
|
||||
GROQ_API_KEY=""
|
||||
|
||||
DEFAULT_BRAIN_LIMIT="500"
|
||||
BRAIN_URL=""
|
||||
NODE_ENV="development"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"dev": "wrangler dev --show-interactive-dev-session=false --env staging",
|
||||
"build": "wrangler deploy --minify --dry-run",
|
||||
"deploy": "wrangler deploy --minify",
|
||||
"types": "wrangler types --e staging"
|
||||
"types": "wrangler types --env staging"
|
||||
},
|
||||
"exports": {
|
||||
"./trpc": "./src/trpc/index.ts",
|
||||
|
||||
@@ -26,12 +26,8 @@
|
||||
},
|
||||
],
|
||||
"vars": {
|
||||
"DEFAULT_BRAIN_LIMIT": "500",
|
||||
"NODE_ENV": "development",
|
||||
"FORCE_GMAIL_CONSENT": "true",
|
||||
"NEXT_PUBLIC_BACKEND_URL": "https://sapi.0.email",
|
||||
"NEXT_PUBLIC_APP_URL": "https://staging.0.email",
|
||||
"COOKIE_DOMAIN": "0.email",
|
||||
},
|
||||
"kv_namespaces": [
|
||||
{
|
||||
@@ -64,12 +60,8 @@
|
||||
},
|
||||
],
|
||||
"vars": {
|
||||
"DEFAULT_BRAIN_LIMIT": "500",
|
||||
"NODE_ENV": "production",
|
||||
"FORCE_GMAIL_CONSENT": "true",
|
||||
"NEXT_PUBLIC_BACKEND_URL": "https://api.0.email",
|
||||
"NEXT_PUBLIC_APP_URL": "https://0.email",
|
||||
"COOKIE_DOMAIN": "0.email",
|
||||
},
|
||||
"kv_namespaces": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user