Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS #15

Open
JeffersonUCC opened this issue Apr 25, 2022 · 1 comment
Open

CORS #15

JeffersonUCC opened this issue Apr 25, 2022 · 1 comment

Comments

@JeffersonUCC
Copy link

Following the instructions including the js and css file into the head of the HTML and using a script tag for the tikz picture I get a CORS error in the console.

Access to fetch at 'http://tikzjax.com/ef253ef29e2f057334f77ead7f06ed8f22607d38.wasm' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

This happens to both localhost and a domain.

Any help is appreciated.

@matheusfillipe
Copy link

Use https:

<link rel="stylesheet" type="text/css" href="https://tikzjax.com/v1/fonts.css">
<script src="https://tikzjax.com/v1/tikzjax.js"></script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants