diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-12-24 06:58:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 06:58:28 +0000 |
commit | fac92610d22d1166890b17b167c034090a096e5a (patch) | |
tree | 059e9c4d3314278472b8f4e1b0a14b59952d7973 /webui.py | |
parent | 94450b88775ee14392d05ef6a8fc915b93946b9e (diff) | |
parent | c0355caefe3d82e304e6d832699d581fc8f9fbf9 (diff) | |
download | stable-diffusion-webui-gfx803-fac92610d22d1166890b17b167c034090a096e5a.tar.gz stable-diffusion-webui-gfx803-fac92610d22d1166890b17b167c034090a096e5a.tar.bz2 stable-diffusion-webui-gfx803-fac92610d22d1166890b17b167c034090a096e5a.zip |
Merge pull request #5753 from calvinballing/master
Fix various typos
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -154,8 +154,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)
|