Skip to content

Commit

Permalink
fix streamlit proxy (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
ganisback authored Sep 14, 2024
1 parent 4463b45 commit 8423ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/deploy/scheduler/deploy_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func (t *DeployRunner) makeDeployRequest() (*types.RunRequest, error) {
}
if deploy.Type == types.SpaceType {
envMap["GRADIO_ROOT_PATH"] = "/endpoint/" + deploy.SvcName
envMap["STREAMLIT_SERVER_BASEURLPATH"] = "/endpoint/" + deploy.SvcName
envMap["STREAMLIT_SERVER_BASE_URL_PATH"] = "/endpoint/" + deploy.SvcName
}

}
Expand Down

0 comments on commit 8423ab5

Please sign in to comment.