Skip to content

refactor(server): Make MiddlewareManager options optional#1443

Merged
matz3 merged 1 commit into
mainfrom
refactor-MiddlewareManager
Jul 2, 2026
Merged

refactor(server): Make MiddlewareManager options optional#1443
matz3 merged 1 commit into
mainfrom
refactor-MiddlewareManager

Conversation

@matz3

@matz3 matz3 commented Jul 2, 2026

Copy link
Copy Markdown
Member

Callers may now omit the options argument entirely, individual options, or the liveReload sub-object.
All defaults (sendSAPTargetCSP, serveCSPReports, simpleIndex, liveReload.active, liveReload.token) are applied in a single spread in the constructor so there is one place to look them up.

Callers may now omit the options argument entirely, individual options,
or the liveReload sub-object. All defaults (sendSAPTargetCSP,
serveCSPReports, simpleIndex, liveReload.active, liveReload.token) are
applied in a single spread in the constructor so there is one place to
look them up.
@matz3 matz3 requested a review from a team July 2, 2026 09:17
@matz3 matz3 merged commit 7336cce into main Jul 2, 2026
60 checks passed
@matz3 matz3 deleted the refactor-MiddlewareManager branch July 2, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants