Files
sentio/.gitattributes
Marcus Thorelius b72f1e345c Serve the /docs front-end from the binary instead of a CDN
The Scalar bundle previously loaded from jsDelivr, so on a host without
outbound internet access /docs rendered blank. The bundle now ships
embedded in the binary, gzipped (1.0 MiB against 3.6 MiB raw), served at
a versioned path with an immutable cache directive and inflated on the
fly for clients that do not accept gzip.

The vendored file is dist/browser/standalone.js from the
@scalar/api-reference 1.66.1 npm package, taken verbatim; its hash,
source, and licence are documented in crates/sentio-api/assets/README.md.
Compressed assets are marked binary in .gitattributes so line-ending
normalisation can never corrupt them.
2026-08-24 16:19:09 +02:00

6 lines
143 B
Plaintext

# Normalize all text files to LF in the repo, regardless of OS
* text=auto eol=lf
# Never line-ending-normalise compressed assets
*.gz binary