-
Notifications
You must be signed in to change notification settings - Fork 4
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
downloading website to work offline without a web server? #7
Comments
Good question! The game will just run from the buildable collection of static HTML/JavaScript/WebAssembly files -- but it needs a proper web server to host those files. You can't run the project from This restriction isn't the fault of the Quake2-WASM project, but rather to do with your browser's security and the lack of headers. Emscripten needs to download multiple JavaScript/WebAssembly files, and your browser won't do this without seeing the proper headers from a web server. Without it, CORS restrictions, and other problems, like unknown MIME types (which are provided by a proper web server), will prevent certain actions on As far as I know, there is no way of bypassing You'll need to either run a mini web server executable, or any other proper web server! |
I'm on chrome os though... |
Yeah, in that case the restrictions will apply just the same. There is a way, I think -- on Android mobile devices, without root, you can run a 'localhost' web server as a service on a high numbered port, which you can then connect to from a browser with an address like |
how can I download the web version to an HTML file?
I want it to be able to save, load, and load the game data
The text was updated successfully, but these errors were encountered: