You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Few web servers (like SharePoint) serve few pages with urls that incude the default filename in them, i.e., www.domain.com/index.html instead of www.domain.com.
When hosting index.html file built with adapter-static in such web servers, and opened as www.domain.com/index.html, the page goes into infinite reloads finally throwing the following errors:
Too many calls to Location or History APIs within a short timeframe.
Uncaught (in promise) DOMException: The operation is insecure.
Too many calls to Location or History APIs within a short timeframe. index.html:19:45550
Uncaught (in promise) DOMException: The operation is insecure.
Ts http://localhost:4173/index.html:19
ws http://localhost:4173/index.html:19
Ms http://localhost:4173/index.html:21
<anonymous> http://localhost:4173/index.html:24
index.html:19
Too many calls to Location or History APIs within a short timeframe. index.html:19:34175
Uncaught (in promise) DOMException: The operation is insecure.
ws http://localhost:4173/index.html:19
Ms http://localhost:4173/index.html:21
<anonymous> http://localhost:4173/index.html:24
Describe the bug
Few web servers (like SharePoint) serve few pages with urls that incude the default filename in them, i.e.,
www.domain.com/index.html
instead ofwww.domain.com
.When hosting
index.html
file built with adapter-static in such web servers, and opened aswww.domain.com/index.html
, the page goes into infinite reloads finally throwing the following errors:Reproduction
adapter-static
insvelte.config.js
/index.html
to the url (e.g., http://localhost:4173/index.html)Logs
System Info
Severity
blocking all usage of SvelteKit
Additional Information
Unable to use SvelteKit for internal apps because of this issue.
The text was updated successfully, but these errors were encountered: