diff --git a/web/src/containers/Drive/main.tsx b/web/src/containers/Drive/main.tsx index 953fc88..29e11ba 100644 --- a/web/src/containers/Drive/main.tsx +++ b/web/src/containers/Drive/main.tsx @@ -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$/, "")}` ) } }