feat: add prod zero url
This commit is contained in:
@@ -32,7 +32,7 @@ export default function RootLayout() {
|
|||||||
return {
|
return {
|
||||||
storageKey: 'money',
|
storageKey: 'money',
|
||||||
kvStore,
|
kvStore,
|
||||||
server: 'http://localhost:4848',
|
server: process.env.NODE_ENV == 'production' ? 'https://zero.koon.us' : 'http://localhost:4848',
|
||||||
userID: authData?.user.id ?? "anon",
|
userID: authData?.user.id ?? "anon",
|
||||||
schema,
|
schema,
|
||||||
mutators: createMutators(authData),
|
mutators: createMutators(authData),
|
||||||
|
|||||||
@@ -11,7 +11,8 @@
|
|||||||
"build": "expo export --platform web",
|
"build": "expo export --platform web",
|
||||||
"lint": "expo lint",
|
"lint": "expo lint",
|
||||||
"db:migrate": "dotenv -- pnpm run --dir=shared db:migrate",
|
"db:migrate": "dotenv -- pnpm run --dir=shared db:migrate",
|
||||||
"db:gen": "dotenv -- pnpm run --dir=shared generate:zero"
|
"db:gen": "dotenv -- pnpm run --dir=shared generate:zero",
|
||||||
|
"dev": "process-compose up -p 0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@better-auth/expo": "^1.3.27",
|
"@better-auth/expo": "^1.3.27",
|
||||||
|
|||||||
Reference in New Issue
Block a user