We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef9418 commit 27fed7fCopy full SHA for 27fed7f
app/utils/browser.js
@@ -1 +1,7 @@
1
-export const getPublicUrl = () => `${window.location.protocol}//${window.location.hostname}/app/`
+export const getPublicUrl = () => {
2
+ if (window.location.port) {
3
+ return `${window.location.protocol}//${window.location.hostname}:${window.location.port}/app/`
4
+ }
5
+
6
+ return `${window.location.protocol}//${window.location.hostname}/app/`
7
+}
0 commit comments