-
Notifications
You must be signed in to change notification settings - Fork 788
dynamic dashboard path #1337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dynamic dashboard path #1337
Conversation
cd `dirname $0`/app/dashboard VITE_BASE_API=/api/ npm run build --if-present -- --outDir build --assetsDir statics cp ./build/index.html ./build/404.html
|
Before merging, it's necessary to change the workflow for building the container, specifically the section: - name: Build project
working-directory: ./app/dashboard
run: VITE_BASE_API=/api/ npm run build --if-present -- --outDir build --base '/dashboard/'Change it to: - name: Build project
working-directory: ./app/dashboard
run: VITE_BASE_API=/api/ npm run build --if-present -- --outDir build --assetsDir statics |
|
It need to rebuild after chang path? |
|
Please change the target branch to dev |
no, only restart |
|
change the target branch to dev |
|
If a merge into the dev branch is required, I will rebuild the frontend and reopen the PR since the versions differ. |
|
Yes we need to test it first |
DASHBOARD_PATH = "/dashboard/"
in .env