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

Having trouble opening locally #14

Closed
HAHAHAHAHsussy opened this issue Mar 4, 2023 · 7 comments
Closed

Having trouble opening locally #14

HAHAHAHAHsussy opened this issue Mar 4, 2023 · 7 comments

Comments

@HAHAHAHAHsussy
Copy link

I just doubled clicked the html file and it didnt work, can you do that?

@ruochenjia
Copy link
Collaborator

ruochenjia commented Mar 4, 2023

This is because Chrome and other major browsers block CORS from file:/// URL by default.
To fix this issue, either use a simple web server to host the website or run your Chrome browser with --disable-web-security flag.

@HAHAHAHAHsussy
Copy link
Author

thanks, were do i find the disable web security flag?

@ruochenjia
Copy link
Collaborator

ruochenjia commented Mar 4, 2023

Close your browser (includes background processes), go to the folder where Chrome is installed, open a terminal (or cmd.exe on Windows), and run the commands below:

./chrome --disable-web-security --user-data-dir=/.tmp/

@HAHAHAHAHsussy
Copy link
Author

terminal seems to be block on my school pc

@HAHAHAHAHsussy
Copy link
Author

Also i seemed to have unblocked the playstore, is there something i can download from there?

@ruochenjia
Copy link
Collaborator

You can download TOR Browser, which should allow you to unblock every website

@TrickJoker312
Copy link

If only someone would help me with my question...

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

3 participants