From 201ce884f5dc0d1bcfefce92b6ec5440842ba838 Mon Sep 17 00:00:00 2001 From: rohan-chaturvedi Date: Fri, 3 Nov 2023 14:40:32 +0530 Subject: [PATCH] fix: protocols in dev env --- .env.dev.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.dev.example b/.env.dev.example index cd3b0a9be..0a08184bb 100644 --- a/.env.dev.example +++ b/.env.dev.example @@ -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 @@ -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