Skip to content

Correct middleware usage instructions#1

Closed
pydanny wants to merge 2 commits intomainfrom
correct-middleware-usage-instructions
Closed

Correct middleware usage instructions#1
pydanny wants to merge 2 commits intomainfrom
correct-middleware-usage-instructions

Conversation

@pydanny
Copy link
Copy Markdown
Member

@pydanny pydanny commented Mar 13, 2026

Clarifies how to use StaticRewriteMiddleware. It does this by removing the assignment of the middleware to the app variable, reflecting that the middleware wraps the app but does not replace it.

@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@audreyfeldroy
Copy link
Copy Markdown
Member

Superseded by #2

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.

3 participants