fix: routerBasename setting (#4891)
This commit is contained in:
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,
|
||||
|
||||
@@ -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 };
|
||||
Reference in new issue
Block a user