Files
effectcraft/packaging/web/_headers
T
G.J.R. Timmer c334c36645 feat(web): startup option in effectcraft-config.json
A startup key (last, empty or demo) chooses the project the page opens on load. empty restores the last visit's project and otherwise starts blank, never with the demo; demo always opens the demo project; last, or no key, is the current behaviour. ?empty and ?demo still win. The config file is fetched once per page load and the service worker never caches it.
2026-10-29 07:11:48 -04:00

18 lines
421 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Netlify / Cloudflare Pages header rules (see HOSTING.md). Other hosts: set the same headers.
/*
X-Content-Type-Options: nosniff
# The file names don't change between releases: revalidate them (HOSTING.md › Any path works).
/*.wasm
Content-Type: application/wasm
Cache-Control: no-cache
/*.js
Cache-Control: no-cache
/index.html
Cache-Control: no-cache
/effectcraft-config.json
Cache-Control: no-cache