Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: protocols in dev env #103

Merged
merged 2 commits into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .env.dev.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

# Replace with your domain or host
HOST=localhost
HTTP_PROTOCOL=http://
HTTP_PROTOCOL=https://

# Frontend dev
NEXTAUTH_URL=http://localhost
OAUTH_REDIRECT_URI=http://localhost
NEXTAUTH_URL=https://localhost
OAUTH_REDIRECT_URI=https://localhost
BACKEND_API_BASE=http://backend:8000
NEXT_PUBLIC_BACKEND_API_BASE=https://localhost/service
NEXT_PUBLIC_NEXTAUTH_PROVIDERS=google,github,gitlab
Expand All @@ -34,7 +34,7 @@ GITLAB_CLIENT_SECRET=

# Backend dev
ALLOWED_HOSTS=localhost,backend
ALLOWED_ORIGINS=http://localhost
ALLOWED_ORIGINS=https://localhost
SESSION_COOKIE_DOMAIN=localhost

# Database credentials. Change all these values as required, except DATABASE_HOST
Expand Down