1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

fix(web): add path to base in launch program url

This commit is contained in:
2023-03-07 09:05:29 +05:00
parent 4d7a571a6e
commit 2c31922f58

View File

@@ -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}`)
}