diff options
author | Jim Hays <jim@emporatitle.com> | 2022-12-15 02:01:32 +0000 |
---|---|---|
committer | Jim Hays <jim@emporatitle.com> | 2022-12-15 02:01:32 +0000 |
commit | c0355caefe3d82e304e6d832699d581fc8f9fbf9 (patch) | |
tree | fd4289de6410ad909371225550e768e37136661e /webui.py | |
parent | 685f9631b56ff8bd43bce24ff5ce0f9a0e9af490 (diff) | |
download | stable-diffusion-webui-gfx803-c0355caefe3d82e304e6d832699d581fc8f9fbf9.tar.gz stable-diffusion-webui-gfx803-c0355caefe3d82e304e6d832699d581fc8f9fbf9.tar.bz2 stable-diffusion-webui-gfx803-c0355caefe3d82e304e6d832699d581fc8f9fbf9.zip |
Fix various typos
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -153,8 +153,8 @@ def webui(): # gradio uses a very open CORS policy via app.user_middleware, which makes it possible for
# an attacker to trick the user into opening a malicious HTML page, which makes a request to the
- # running web ui and do whatever the attcker wants, including installing an extension and
- # runnnig its code. We disable this here. Suggested by RyotaK.
+ # running web ui and do whatever the attacker wants, including installing an extension and
+ # running its code. We disable this here. Suggested by RyotaK.
app.user_middleware = [x for x in app.user_middleware if x.cls.__name__ != 'CORSMiddleware']
setup_cors(app)
|