Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
infra
/
relay
/
src
/
dbConfig.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
ts
5 lines
205 Bytes
Copy permalink
Copy
Raw
1
export
type
RelayDatabaseMode
=
"
shared-database
"
|
"
stage-branch
"
;
2
3
export
function
relayDatabaseMode
(
stage
:
string
):
RelayDatabaseMode
{
4
return
stage
===
"
prod
"
?
"
shared-database
"
:
"
stage-branch
"
;
5
}