docs(architecture): the static server serves six files, and its table lists four rules #2195
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge!2195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/1119-1847"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docs/ARCHITECTURE.md-> "What the static server answers" saidweb/is four files with three rules.web/holds six:index.html,app.js,canvas.js,faceplate.js,style.css,faceplate.css(ls web/). The count was already wrong in the commit that wrote it (#1312), so it never described the tree.serveStatic()(server/index.js) serves whatever path resolves insideWEB_DIR; there is no four-entry list of filenames to be right about.Allow: GET, HEADfor a non-read, 404text/plainwhen a named file is missing,/and extensionless paths answered withindex.html, andHEADanswered with theGETheaders and no body (including the gzip branch).Docs only - no engine, server or test change.
Guards:
scripts/syntax-check.js461 files OK; docs-show-commands 7/7 (59 show forms, 118 commands typed); help-completeness 8/8; docs-cli-transcript 9/9; doc-catalog-counts 43/43; help-key-is-not-a-value 40/40; no-form-help-key 81/81.