From a7a9d4646028787ddf574f3e6461983be4800a12 Mon Sep 17 00:00:00 2001 From: 2ManyProjects Date: Fri, 25 Apr 2025 18:02:47 -0500 Subject: [PATCH] fixed url --- backend/src/config.js | 2 +- frontend/src/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/config.js b/backend/src/config.js index 80d0efd..8d01fe1 100644 --- a/backend/src/config.js +++ b/backend/src/config.js @@ -30,7 +30,7 @@ const config = { // Site configuration (domain and protocol based on environment) site: { domain: process.env.ENVIRONMENT === 'prod' ? 'rocks.2many.ca' : 'localhost:3000', - protocol: process.env.ENVIRONMENT === 'prod' ? 'https' : 'http', + protocol: process.env.ENVIRONMENT === 'prod' ? 'http' : 'http', apiDomain: process.env.ENVIRONMENT === 'prod' ? 'api.rocks.2many.ca' : 'localhost:4000' } }; diff --git a/frontend/src/config.js b/frontend/src/config.js index 0105a24..50f9f87 100644 --- a/frontend/src/config.js +++ b/frontend/src/config.js @@ -13,7 +13,7 @@ const config = { // Site configuration (domain and protocol based on environment) site: { domain: import.meta.env.VITE_ENVIRONMENT === 'prod' ? 'rocks.2many.ca' : 'localhost:3000', - protocol: import.meta.env.VITE_ENVIRONMENT === 'prod' ? 'https' : 'http', + protocol: import.meta.env.VITE_ENVIRONMENT === 'prod' ? 'http' : 'http', apiDomain: import.meta.env.VITE_ENVIRONMENT === 'prod' ? 'api.rocks.2many.ca' : 'localhost:4000' } };