Question: How to use godot to build a html project?

Godot Version 4.2

Question:How to use godot to build a html project?

I’m trying to make a html project by Godot_v4.2-stable_export_templates.tpz but the index.html can’t run successfully, which error like the following picture:

what should i do?Thanks for every repllies!

1 Like

You need to serve the files from a web server. That web server must set the CORS headers properly. A popular platform that does this is itch.io

For more information, see the section “Serving the files” in the docs:

2 Likes