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