This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is an extension of sd-webui for testing the ability add new middleware after the server has started. | |
New middleware can be added by clicking the button in the Setting > Middleware section, | |
or by get request to /add-test-middleware. | |
The middleware will print the request url to the console with the middleware count and datetime. | |
[<Number>] <datetime>: <url> | |
Usage: save this script to extensions/<add_middleware>/scripts/sd_webui_add_middleware_test.py then restart the webui server. |
OlderNewer