lalit2005/staticshield

Javascript Enabed but I get error

iozcelik opened this issue · 3 comments

In my browser javascript enabled. I check twice.
image

However, I get this warning.
image

"Staticshield checks for the valid token, verifies it and redirects to login page using Javascript. All this is done by the script that is loaded externally. Please enable network requests in your browser."

I try to add this function in docusaurus.

This seems like an issue with Blocking of network requests, not with executing javascript.

StaticShield_.Redirect.when.requests.blocked.mp4

In that video, you will be redirected to the Request Blocked page only when the network requests are blocked for the staticshield.vercel.app domain

Can you give some steps to reproduce the issue? Or any example on CodeSandbox or StackBlitz would help too

Hello @iozcelik, I've figured out the problem. There seems to be an issue with CORS with StaticShield. You will probably have to do nothing extra to get it working properly

I'll fix it as soon as possible.

Fixed it 🎉

If the problem persists, please reopen the issue