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
How do I enable Cross-Origin Resource Sharing (CORS) ?
When I upload, the script isn't embedding, and when I try to chat I keep getting this script-src error
A clear and concise description of what the bug is.
can't get this to give me a response due to this error
The Content Security Policy (CSP) prevents the evaluation of arbitrary strings as JavaScript to make it more difficult for an attacker to inject unathorized code on your site.
To solve this issue, avoid using eval(), new Function(), setTimeout([string], ...) and setInterval([string], ...) for evaluating strings.
If you absolutely must: you can enable string evaluation by adding unsafe-eval as an allowed source in a script-src directive. ⚠️ Allowing string evaluation comes at the risk of inline script injection.
1 directive
Source location Directive Status
script-src blocked
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Go to '…'
Click on '…'
Scroll down to '…'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
OS: [e.g. macOS, Windows]
Mac OS X
Browser (if applies) [e.g. chrome, safari]
Brave
Version of supabase-js: [e.g. 6.0.2]
Version of Node.js: [e.g. 10.10.0]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
autogro-ai
changed the title
Script SRC and embedding error
Script SRC and embedding error -- Cross-Origin Resource Sharing (CORS) for next js
Jul 31, 2024
autogro-ai
changed the title
Script SRC and embedding error -- Cross-Origin Resource Sharing (CORS) for next js
Script SRC and embedding error -- Cross-Origin Resource Sharing (CORS)
Jul 31, 2024
Bug report
Describe the bug
How do I enable Cross-Origin Resource Sharing (CORS) ?
When I upload, the script isn't embedding, and when I try to chat I keep getting this script-src error
A clear and concise description of what the bug is.
can't get this to give me a response due to this error
The Content Security Policy (CSP) prevents the evaluation of arbitrary strings as JavaScript to make it more difficult for an attacker to inject unathorized code on your site.
⚠️ Allowing string evaluation comes at the risk of inline script injection.
To solve this issue, avoid using eval(), new Function(), setTimeout([string], ...) and setInterval([string], ...) for evaluating strings.
If you absolutely must: you can enable string evaluation by adding unsafe-eval as an allowed source in a script-src directive.
1 directive
Source location Directive Status
script-src blocked
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: