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

Merge pull request #342 from sasjs/quick-fix

fix(web): add path to base in launch program url
This commit is contained in:
Allan Bowe
2023-03-07 09:35:09 +00:00
committed by GitHub

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