Open
Description
openedon Sep 5, 2024
Describe the bug
I've made a documentation site using StaticTOC. The search function does not work at all on Edge (it just reloads the current page) and on Firefox it gets stuck on a loading wheel.
On Edge the console says: "SecurityError: failed to contruct 'Worker': Script at '...' cannot be accessed from origin 'null'
On Firefox I get the following:
Error occurred at search-worker. message: undefined docfx.js:169:17
onerror docfx.js:169
(Asíncrono: EventHandlerNonNull)
webWorkerSearch docfx.js:168
enableSearch docfx.js:134
<anonymous> docfx.js:14
jQuery 13
O docfx.vendor.min.js:1
<anonymous> docfx.vendor.js:7
<anonymous> docfx.vendor.js:17
To Reproduce
Steps to reproduce the behavior:
- Open the generated doc site.
- Try to search for something.
Expected behavior
Show the sarch results.
Context (please complete the following information):
- OS: Windows
- Docfx version: 2.77.0
Additional context
This is a work laptop, so it's possible that some security restrictions imposed by IT are causing this problem.
I'm using the statictoc template, and am accessing the site through the file:// protocol.
Activity