Closed jialeicui closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
0273514
) 82.69% compared to head (4bc12eb
) 91.58%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
demo: http://jialei.pre.intra.starwhale.ai/projects/1/jobs/8/servings
Bug reason: the front end can not access the assets and the APIs if the server is behind the proxy sub-path
I have implemented a simple string replacement on the client side to achieve the effects of injecting global variables and modifying asset paths. I did not use templates like Jinja2 because once templates are used, the client/index.html file can no longer be used for debugging and packaging with Vite.
Modules
Checklist