Browse Source

revert(nc-gui): constant for base url

pull/3801/head
braks 2 years ago
parent
commit
3f24e90206
  1. 3
      packages/nc-gui/lib/constants.ts

3
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

Loading…
Cancel
Save