Metadata
- Source
- FLUID-5590
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Jonathan Hung
- Created
2015-01-21T10:54:54.520-0500 - Updated
2024-07-22T10:35:31.810-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Website
Description
If the Fluid website is deployed to a non-root path, UI options will not work. This error is caused by the calculation of the paths in uio.js which uses window.location.origin to calculate the absolute path.
The absolute path is needed so the news content in the /news/ directory can use UIO.
uio.js should use relative path instead of absolute path.
Comments
-
Justin Obara commented
2020-03-12T08:42:01.423-0400 Merged PR (. ) into the project repo at 96771c3fddecad7ec1cca0375757f527f1e5ad64
This PR addresses an issue where the scripts were not loading due to the relative paths supplied to the news item page.
However, this PR doesn't address the case when the site is deployed a different level than root.