From 5c423f6c72f98f0512553bc7b448427670fb6a20 Mon Sep 17 00:00:00 2001 From: Hannes Heine Date: Thu, 29 Jul 2021 07:27:59 +0200 Subject: [PATCH] Changed the default config value so that the programm get the right config on localhost. --- backend/src/config/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts index 14e824d19..3cb239a1d 100644 --- a/backend/src/config/index.ts +++ b/backend/src/config/index.ts @@ -8,8 +8,8 @@ const server = { JWT_SECRET: process.env.JWT_SECRET || 'secret123', JWT_EXPIRES_IN: process.env.JWT_EXPIRES_IN || '10m', GRAPHIQL: process.env.GRAPHIQL === 'true' || false, - LOGIN_API_URL: process.env.LOGIN_API_URL || 'http://localhost/login_api/', - // COMMUNITY_API_URL: process.env.COMMUNITY_API_URL || 'http://localhost/api/', + LOGIN_API_URL: process.env.LOGIN_API_URL || 'http://localhost/', // login_api/', + COMMUNITY_API_URL: process.env.COMMUNITY_API_URL || 'http://ngninx/api/', } // This is needed by graphql-directive-auth