diff --git a/src/pyflask/app.py b/src/pyflask/app.py index 0d55a9bd5..25774027f 100644 --- a/src/pyflask/app.py +++ b/src/pyflask/app.py @@ -9,10 +9,8 @@ from logging.handlers import RotatingFileHandler from pathlib import Path from signal import SIGINT - from urllib.parse import unquote - # https://stackoverflow.com/questions/32672596/pyinstaller-loads-script-multiple-times#comment103216434_32677108 multiprocessing.freeze_support() @@ -84,7 +82,6 @@ def post(self): selected_logger(message) - @flask_api.route("/server_shutdown", endpoint="shutdown") @flask_api.doc(description="Close the Flask server.") class Shutdown(Resource):