Skip to content

Commit 1f4a5ae

Browse files
remove AUTH_URL since it unused and (likely) unnecessary
1 parent c2a129a commit 1f4a5ae

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

.env.development

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ SRC_TENANT_ENFORCEMENT_MODE=strict
1616
# openssl rand -base64 33
1717
# @see: https://authjs.dev/getting-started/deployment#auth_secret
1818
AUTH_SECRET="00000000000000000000000000000000000000000000"
19-
AUTH_URL="http://localhost:3000"
2019
# AUTH_CREDENTIALS_LOGIN_ENABLED=true
2120
# AUTH_GITHUB_CLIENT_ID=""
2221
# AUTH_GITHUB_CLIENT_SECRET=""

entrypoint.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ if [ -z "$AUTH_SECRET" ]; then
7474
set +a
7575
fi
7676

77-
if [ -z "$AUTH_URL" ]; then
78-
echo -e "\e[33m[Warning] AUTH_URL is not set.\e[0m"
79-
export AUTH_URL="http://localhost:3000"
80-
fi
81-
8277
# In order to detect if this is the first run, we create a `.installed` file in
8378
# the cache directory.
8479
FIRST_RUN_FILE="$DATA_CACHE_DIR/.installedv2"

packages/web/src/env.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export const env = createEnv({
2424
AUTH_GITHUB_CLIENT_SECRET: z.string().optional(),
2525
AUTH_GOOGLE_CLIENT_ID: z.string().optional(),
2626
AUTH_GOOGLE_CLIENT_SECRET: z.string().optional(),
27-
AUTH_URL: z.string().url(),
2827
AUTH_CREDENTIALS_LOGIN_ENABLED: booleanSchema.default('true'),
2928

3029
// Email

0 commit comments

Comments
 (0)