mirror of
https://github.com/truespar/sentio.git
synced 2026-11-17 08:16:11 +00:00
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.
6 lines
143 B
Plaintext
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
|