Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #If when exporting to html in Godot 4
- #you receive this error in your web browser
- #and you use apache web server
- --------------------------------------------------------------------------------
- The following features required to run Godot projects on the Web are missing:
- Cross Origin Isolation - Check web server configuration (send correct headers)
- SharedArrayBuffer - Check web server configuration (send correct headers)
- --------------------------------------------------------------------------------
- #add this to your .htaccess file
- <IfModule mod_headers.c>
- Header set Cross-Origin-Embedder-Policy: require-corp
- Header set Cross-Origin-Opener-Policy: same-origin
- </IfModule>
- #and run these commands
- sudo apache2ctl -M
- sudo a2enmod headers
- sudo systemctl restart apache2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement