Improve mobile editing
This commit is contained in:
@@ -34,6 +34,11 @@ make editor # runs `npm ci && npm run build` in editor-build/, rewrites
|
||||
Commit the regenerated `codemirror.bundle.js` and the updated
|
||||
`editor-build/package-lock.json`. `editor-build/node_modules/` is gitignored.
|
||||
|
||||
The bundle is served immutable under a stable filename, so the edit template
|
||||
appends `?v=<content-hash>` to its `<script>` src (`editorBundleVersion` in
|
||||
`main.go`). The hash changes whenever the bundle bytes change, so a rebuilt
|
||||
bundle busts client caches automatically — no manual version bump needed.
|
||||
|
||||
## HTTP API Surface
|
||||
|
||||
| Method | Path | Behaviour |
|
||||
|
||||
Reference in New Issue
Block a user