Track the fixed PhotoCraft source baseline with the existing native client integration. Use the actual Pi SDK for normal sends, durable session recovery, demand-loaded enterprise rules and checked undoable canvas tools. Retain request identities and never resend unknown inference. Include local packaging and real-call acceptance evidence.
27 lines
704 B
Plaintext
27 lines
704 B
Plaintext
# Netlify / Cloudflare Pages header rules (see HOSTING.md). Other hosts: set the same headers.
|
|
/*
|
|
X-Content-Type-Options: nosniff
|
|
|
|
/*.wasm
|
|
Content-Type: application/wasm
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/*.js
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
/index.html
|
|
Cache-Control: no-cache
|
|
|
|
# app/ holds the app's wasm, gzipped and cut into parts whose names carry a content hash...
|
|
/app/*
|
|
Cache-Control: public, max-age=31536000, immutable
|
|
|
|
# ...and the app's loader and its list of parts, which keep their names from release to release.
|
|
/app/photocraft-web.js
|
|
! Cache-Control
|
|
Cache-Control: no-cache
|
|
|
|
/app/parts.txt
|
|
! Cache-Control
|
|
Cache-Control: no-cache
|