fix: routerBasename setting (#4891)

This commit is contained in:
Bill Wallace authored and GitHub committed 2025-03-27 16:47:16 -04:00
1 parent c368d763b0
commit 459b0d223a
40 files changed
+299 -229

No files matched your search

@@ -5,7 +5,7 @@ function preserve(query, current, key) {
}
}
export const preserveKeys = ['configUrl', 'multimonitor', 'screenNumber'];
export const preserveKeys = ['configUrl', 'multimonitor', 'screenNumber', 'hangingProtocolId'];
export function preserveQueryParameters(
query,
+3 -1
View File
@@ -1,4 +1,6 @@
const publicUrl = (window as any).PUBLIC_URL || '/';
const routerBasename = (window as any).config?.routerBasename || publicUrl;
export { publicUrl, routerBasename };
export default publicUrl;
export { publicUrl };