mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 19:34:34 +00:00
fix(web): add path to base in launch program url
This commit is contained in:
@@ -31,7 +31,7 @@ const RunMenu = ({
|
||||
handleRunBtnClick
|
||||
}: RunMenuProps) => {
|
||||
const launchProgram = () => {
|
||||
const baseUrl = window.location.origin
|
||||
const baseUrl = window.location.origin + window.location.pathname
|
||||
window.open(`${baseUrl}/SASjsApi/stp/execute?_program=${selectedFilePath}`)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user