Website errors when viewing local build in v21
Posted: Tue Apr 02, 2019 11:55 pm
In v21, I see strange behavior in my output (mobile buttons, etc.) and inspecting the page in my browser shows the follwing errors:
None of these errors occur when I build and view locally (from the same directory) in v20.
Anyone know what might be causing this?
EDIT: From what I can tell, it must be a difference between using DITA-OT2.x and DITA-OT3.x but for the life of me I don't know what I need to change to fix the issue.
Code: Select all
[Error] Not allowed to load local resource: file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/css/bootstrap-theme.min.css (index.html, line 31)
[Error] Not allowed to load local resource: file://www.google-analytics.com/analytics.js
(anonymous function) (index.html:49)
Global Code (index.html:50)
[Error] Not allowed to load local resource: file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/js/bootstrap.min.js
[Error] Not allowed to load local resource: file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/css/bootstrap.min.css.map
[Error] Not allowed to request resource
[Error] Cannot load file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/css/bootstrap.min.css.map due to access control checks.
[Error] Not allowed to load local resource: file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/js/bootstrap.bundle.min.js.map
[Error] Not allowed to request resource
[Error] Cannot load file:///Users/cfurlin/Build/out/webcontent/oxygen-webhelp/lib/bootstrap/js/bootstrap.bundle.min.js.map due to access control checks.
Anyone know what might be causing this?
EDIT: From what I can tell, it must be a difference between using DITA-OT2.x and DITA-OT3.x but for the life of me I don't know what I need to change to fix the issue.