-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/core url not set for gui SOFIE-94 #8
base: release51
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think maybe it would be good to create our own wrapper around Meteor.absoluteUrl()
and put it somewhere in lib
, so that when we migrate away from Meteor, the change will only be needed in one place and there will be only a single import to replace.
Co-authored-by: Jan Starzak <[email protected]>
Co-authored-by: Jan Starzak <[email protected]>
Issue: |
I am not having any luck when testing this (development env, not docker). If I use This could all behave differently when run from the docker images. And I think it worth noting that the move to vite that nrk has in release52 will require this to be re-tested, and could break this in other ways. |
@@ -9,7 +9,7 @@ | |||
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png" /> | |||
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png" /> | |||
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png" /> | |||
<link rel="manifest" href="/site.webmanifest" data-href="/site.webmanifest" /> | |||
<link rel="manifest" href="/site.webmanifest" data-href="./site.webmanifest" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't work properly.
If you load the page https://my-domain/sofie/settings/tools/snapshots
, the client tries to find this at https://my-domain/sofie/settings/tools/site.webmanifest?lng=en-GB
, which is not correct.
The other paths which are still absolute also fail to load
About the Contributor
This PR was made on behalf of BBC
Type of Contribution
This is a bug fix
Current Behavior
Currently the Sofie GUI had to have "/" as it's path to work.
New Behavior
It's now possible to have a sub-path as root for the GUI
Testing Instructions
Run a Nginx in front of Sofie Core with a reverse proxy AND wb socket support.
Like this:
Time Frame
This Fix is ready for testing
Status