1 files changed,
9 insertions(+),
9 deletions(-)
Author:
Olexandr Smirnov
ss2316544@gmail.com
Committed by:
Olexandr Smirnov
olexsmir@gmail.com
Committed at:
2025-08-11 16:02:18 +0300
Change ID:
wqnpuntquyypyuwmolqsmrzkqyuzyrso
Parent:
26c7f05
M
.env.example
@@ -1,11 +1,11 @@
-APP_URL=http://localhost:8000 +HTTP_PORT=8000 + +APP_URL=http://localhost:$HTTP_PORT FRONTEND_URL=http://localhost:1234 APP_ENV=debug PASSWORD_SALT=onasty NOTE_PASSWORD_SALT=secret - -HTTP_PORT=8000 CORS_ALLOWED_ORIGINS=http://localhost:3000,http://onasty.localhost,http://localhost:1234 CORS_MAX_AGE=12h@@ -21,13 +21,13 @@ JWT_SIGNING_KEY=supersecret
JWT_ACCESS_TOKEN_TTL=30m JWT_REFRESH_TOKEN_TTL=360d -GOOGLE_CLIENTID= -GOOGLE_SECRET= -GOOGLE_REDIRECTURL=http://localhost:8000/api/v1/oauth/google/callback +GOOGLE_CLIENTID=google_client_id_here +GOOGLE_SECRET=google_secret_here +GOOGLE_REDIRECTURL=$APP_URL/api/v1/oauth/google/callback -GITHUB_CLIENTID= -GITHUB_SECRET= -GITHUB_REDIRECTURL=http://localhost:8000/api/v1/oauth/github/callback +GITHUB_CLIENTID=github_client_id_here +GITHUB_SECRET=github_secret_here +GITHUB_REDIRECTURL=$APP_URL/api/v1/oauth/github/callback POSTGRES_USERNAME=onasty POSTGRES_PASSWORD=qwerty