diff options
Diffstat (limited to 'plugins/base/frontend/src/main/components/utils')
-rw-r--r-- | plugins/base/frontend/src/main/components/utils/requests.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/frontend/src/main/components/utils/requests.tsx b/plugins/base/frontend/src/main/components/utils/requests.tsx index 4a14e6f6..c95dda69 100644 --- a/plugins/base/frontend/src/main/components/utils/requests.tsx +++ b/plugins/base/frontend/src/main/components/utils/requests.tsx @@ -1,7 +1,7 @@ -import { IWindow } from "../search/types" +import {IWindow} from "../search/types" export const relativizeUrlForRequest = (filePath: string) : string => { const pathToRoot = (window as IWindow).pathToRoot const relativePath = pathToRoot == "" ? "." : pathToRoot return relativePath.endsWith('/') ? `${relativePath}${filePath}` : `${relativePath}/${filePath}` -}
\ No newline at end of file +} |