Skip to content

Commit

Permalink
Add PUBLIC_URL to icad build script and change the client Id
Browse files Browse the repository at this point in the history
  • Loading branch information
Adithyan-Dinesh-Trenser committed Apr 8, 2024
1 parent 45aaa5f commit 05ff8b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platform/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions platform/app/public/config/icad.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
window.config = {
routerBasename: '/icad-gradienthealth/',
routerBasename: '/icad-gradienthealth',
// whiteLabeling: {},
extensions: [],
modes: [],
Expand Down Expand Up @@ -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: [
Expand Down

0 comments on commit 05ff8b9

Please sign in to comment.