File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ Available environment variables:
66
66
| Environment variable | Description | Default |
67
67
| ---------------------------- | ------------------------------------------------------------- | ------- |
68
68
| ` REACT_APP_METAFLOW_SERVICE ` | UI service API endpoint (cannot be changed without a rebuild) | ` /api ` |
69
+ | ` REACT_APP_BASE_PATH ` | Base path override for UI (e.g. ` /some/new/path ` ) | `` |
69
70
70
71
## 3. Reverse proxy
71
72
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const PluginContent: React.FC<Props> = ({
42
42
slot = { slot }
43
43
baseurl = { baseurl }
44
44
resourceParams = { {
45
- flow_id : 'Dev flow ' ,
45
+ flow_id : 'Devflow ' ,
46
46
run_number : '1' ,
47
47
step_name : 'start' ,
48
48
task_id : '1' ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const App: React.FC = () => {
46
46
< PluginsProvider >
47
47
< LoggingProvider >
48
48
< GlobalStyle />
49
- < Router >
49
+ < Router basename = { process . env . REACT_APP_BASE_PATH } >
50
50
< QueryParamProvider ReactRouterRoute = { Route } >
51
51
{ flagsReceived ? (
52
52
< >
You can’t perform that action at this time.
0 commit comments