mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 19:26:56 -04:00
Ports photocraft's release workflow + packaging (signing, notarization, MSI/DMG/deb/rpm/AppImage/web), adds `cargo xtask version`. File-type associations omitted for now (route B); app keeps its own .desktop. Fresh WiX UpgradeCode. README 'about' note updated. Co-Authored-By: Claude Opus 4.8 <[email protected]>
17 lines
495 B
ApacheConf
17 lines
495 B
ApacheConf
# Apache (see HOSTING.md). Needs mod_mime; mod_deflate and mod_headers are optional.
|
|
AddType application/wasm .wasm
|
|
AddType text/javascript .js
|
|
|
|
<IfModule mod_deflate.c>
|
|
AddOutputFilterByType DEFLATE application/wasm text/javascript text/html
|
|
</IfModule>
|
|
|
|
<IfModule mod_headers.c>
|
|
<FilesMatch "\.(wasm|js)$">
|
|
Header set Cache-Control "public, max-age=31536000, immutable"
|
|
</FilesMatch>
|
|
<FilesMatch "^index\.html$">
|
|
Header set Cache-Control "no-cache"
|
|
</FilesMatch>
|
|
</IfModule>
|