From 3f24e9020653c3692866589564fa373ac5702261 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 23 Sep 2022 00:34:55 +0200 Subject: [PATCH] revert(nc-gui): constant for base url --- packages/nc-gui/lib/constants.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nc-gui/lib/constants.ts b/packages/nc-gui/lib/constants.ts index d140a7d7c5..355f4d99e3 100644 --- a/packages/nc-gui/lib/constants.ts +++ b/packages/nc-gui/lib/constants.ts @@ -4,8 +4,7 @@ export const NOCO = 'noco' export const SYSTEM_COLUMNS = ['id', 'title', 'created_at', 'updated_at'] -export const BASE_URL = - process.env.NC_BACKEND_URL || (process.env.NODE_ENV === 'production' ? 'http://localhost:8080' : 'http://localhost:8080') +export const BASE_URL = process.env.NC_BACKEND_URL || (process.env.NODE_ENV === 'production' ? '..' : 'http://localhost:8080') export const rolePermissions = { // general role permissions