Refer to correct DispatcherMiddleware

This commit is contained in:
Kevin Chung
2020-05-29 16:45:06 -04:00
parent 4768ea0e2e
commit 256fd9725f

View File

@@ -5,7 +5,7 @@ import sys
from flask import abort, redirect, render_template, request, session, url_for
from sqlalchemy.exc import IntegrityError, InvalidRequestError
from werkzeug.wsgi import DispatcherMiddleware
from werkzeug.wsgi.middleware.dispatcher import DispatcherMiddleware
from CTFd.cache import clear_user_recent_ips
from CTFd.exceptions import UserNotFoundException, UserTokenExpiredException