Skip to content

Commit

Permalink
datacube: rename base route to /datacube
Browse files Browse the repository at this point in the history
  • Loading branch information
akphi committed Dec 23, 2024
1 parent 20a84cc commit 2549aaf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM finos/legend-shared-server:0.23.5
COPY dist/data-cube /app/bin/webapp-content/web/data-cube/
COPY dist/datacube /app/bin/webapp-content/web/datacube/

RUN mkdir -p /config
COPY docker/server-config.json /config/server-config.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
* e.g. `/something/` is the `baseUrl` of https://www.example.org/something/
* For URLs that have no path, use '/'.
*/
baseUrl: '/data-cube/',
baseUrl: '/datacube/',
/**
* `devServerOptions` [object, optional]
* Options to override `webpack-dev-server` configs.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"pac4j": {
"callbackPrefix": "/data-cube/log.in",
"bypassPaths": ["/data-cube/admin/healthcheck"],
"callbackPrefix": "/datacube/log.in",
"bypassPaths": ["/datacube/admin/healthcheck"],
"clients": [
{
"org.finos.legend.server.pac4j.gitlab.GitlabClient": {
Expand Down Expand Up @@ -32,14 +32,14 @@
"/static"
],
"localAssetPaths": {
"/data-cube/config.json": "/config/config.json"
"/datacube/config.json": "/config/config.json"
},
"uiPath": "/data-cube",
"sessionCookie": "LEGEND_DATA_CUBE_JSESSIONID",
"server": {
"type": "simple",
"applicationContextPath": "/",
"adminContextPath": "/data-cube/admin",
"adminContextPath": "/datacube/admin",
"connector": {
"type": "http",
"port": ${DATA_CUBE_PORT}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"build:tailwindcss": "tailwindcss -i ./style/tailwind.css -o ./lib/tailwind.css --minify",
"build:webpack": "cross-env NODE_ENV=production webpack --mode production",
"build-dry:docker": "../../scripts/docker/dry-build-docker-image.sh legend-data-cube ./dist/data-cube",
"build-dry:docker": "../../scripts/docker/dry-build-docker-image.sh legend-data-cube ./dist/datacube",
"bundle": "yarn clean && yarn build:webpack && node ./scripts/setup.js ./dist/data-cube",
"bundle:analyze": "cross-env NODE_ENV=production webpack --mode production --analyze",
"bundle:fast": "cross-env NODE_ENV=production PRODUCTION_MODE=fast webpack --mode production && node ./scripts/setup.js ./dist/data-cube",
Expand Down

0 comments on commit 2549aaf

Please sign in to comment.