From 05ff8b95e4048b0618794bc6300b73fc7d474380 Mon Sep 17 00:00:00 2001 From: Adithyan Dinesh Date: Mon, 8 Apr 2024 13:27:38 +0530 Subject: [PATCH] Add PUBLIC_URL to icad build script and change the client Id --- platform/app/package.json | 2 +- platform/app/public/config/icad.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/app/package.json b/platform/app/package.json index 3c8c3e6d243..724e4576403 100644 --- a/platform/app/package.json +++ b/platform/app/package.json @@ -20,7 +20,7 @@ "scripts": { "build:viewer": "cross-env NODE_ENV=production yarn run build", "build:gradient": "cross-env NODE_ENV=production APP_CONFIG=config/gradient.js yarn run build", - "build:icad": "cross-env NODE_ENV=production APP_CONFIG=config/icad.js yarn run build", + "build:icad": "cross-env NODE_ENV=production PUBLIC_URL=/icad-gradienthealth/ APP_CONFIG=config/icad.js yarn run build", "build:dev": "cross-env NODE_ENV=development yarn run build", "build:aws": "cross-env NODE_ENV=development APP_CONFIG=config/aws_static.js yarn run build && gzip -9 -r dist", "build:viewer:ci": "cross-env NODE_ENV=production PUBLIC_URL=/ APP_CONFIG=config/netlify.js QUICK_BUILD=false yarn run build", diff --git a/platform/app/public/config/icad.js b/platform/app/public/config/icad.js index 04c083e7063..6b9f29fadc9 100644 --- a/platform/app/public/config/icad.js +++ b/platform/app/public/config/icad.js @@ -1,5 +1,5 @@ window.config = { - routerBasename: '/icad-gradienthealth/', + routerBasename: '/icad-gradienthealth', // whiteLabeling: {}, extensions: [], modes: [], @@ -28,7 +28,7 @@ window.config = { oidc: [ { authority: 'https://accounts.google.com', - client_id: '503845864048-5h2i0kbtrq0sabl0ftq8hedgssgl2n97.apps.googleusercontent.com', + client_id: '503845864048-iueskijtmfs09vsgk08r80nbj56s0gev.apps.googleusercontent.com', redirect_uri: '/callback', response_type: 'id_token token', scope: [