mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 11:24:35 +00:00
fix: remove .sas extension from _program parameter at the end of string
This commit is contained in:
@@ -64,7 +64,7 @@ const Main = (props: any) => {
|
||||
setEditMode(false)
|
||||
} else {
|
||||
window.open(
|
||||
`${baseUrl}/SASjsExecutor/do?_program=${props.selectedFilePath}`
|
||||
`${baseUrl}/SASjsExecutor/do?_program=${props.selectedFilePath.replace(/.sas$/, "")}`
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user