mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
remove AUTH_URL since it unused and (likely) unnecessary
This commit is contained in:
parent
c2a129adb7
commit
1f4a5aed22
3 changed files with 0 additions and 7 deletions
|
|
@ -16,7 +16,6 @@ SRC_TENANT_ENFORCEMENT_MODE=strict
|
|||
# openssl rand -base64 33
|
||||
# @see: https://authjs.dev/getting-started/deployment#auth_secret
|
||||
AUTH_SECRET="00000000000000000000000000000000000000000000"
|
||||
AUTH_URL="http://localhost:3000"
|
||||
# AUTH_CREDENTIALS_LOGIN_ENABLED=true
|
||||
# AUTH_GITHUB_CLIENT_ID=""
|
||||
# AUTH_GITHUB_CLIENT_SECRET=""
|
||||
|
|
|
|||
|
|
@ -74,11 +74,6 @@ if [ -z "$AUTH_SECRET" ]; then
|
|||
set +a
|
||||
fi
|
||||
|
||||
if [ -z "$AUTH_URL" ]; then
|
||||
echo -e "\e[33m[Warning] AUTH_URL is not set.\e[0m"
|
||||
export AUTH_URL="http://localhost:3000"
|
||||
fi
|
||||
|
||||
# In order to detect if this is the first run, we create a `.installed` file in
|
||||
# the cache directory.
|
||||
FIRST_RUN_FILE="$DATA_CACHE_DIR/.installedv2"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ export const env = createEnv({
|
|||
AUTH_GITHUB_CLIENT_SECRET: z.string().optional(),
|
||||
AUTH_GOOGLE_CLIENT_ID: z.string().optional(),
|
||||
AUTH_GOOGLE_CLIENT_SECRET: z.string().optional(),
|
||||
AUTH_URL: z.string().url(),
|
||||
AUTH_CREDENTIALS_LOGIN_ENABLED: booleanSchema.default('true'),
|
||||
|
||||
// Email
|
||||
|
|
|
|||
Loading…
Reference in a new issue