Skip to content

Commit

Permalink
fix(web): add path to base in launch program url
Browse files Browse the repository at this point in the history
  • Loading branch information
sabhas committed Mar 7, 2023
1 parent 4d7a571 commit 2c31922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/containers/Studio/internal/components/runMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
}

Expand Down

0 comments on commit 2c31922

Please sign in to comment.