old_contents: import flask
  import os.path
  import datetime
  import urllib.parse
  from .. import configmanager
  from . import controllers
  
  FILE_LOCATION = os.path.abspath(os.path.dirname(__file__))
  STATIC_PATH = os.path.abspath(os.path.join(FILE_LOCATION, "../../static"))
  CONFIG_PATH = os.path.abspath(os.path.join(FILE_LOCATION, "../../configs/"))
  
  app = flask.Flask(__name__, static_folder = STATIC_PATH)
  app.register_blueprint(controllers.user.blueprint)
  app.register_blueprint(controllers.admin.blueprint)
  app.debug = True
  
new_contents: import flask
  import os.path
  import datetime
  import urllib.parse
  from .. import configmanager
  from . import controllers
  
  FILE_LOCATION = os.path.abspath(os.path.dirname(__file__))
  STATIC_PATH = os.path.abspath(os.path.join(FILE_LOCATION, "../../static"))
  CONFIG_PATH = os.path.abspath(os.path.join(FILE_LOCATION, "../../configs/"))
  
  configs = configmanager.ConfigManager(confiPath = CONFIG_PATH)
  authConfig = configs["auth"]
  
  app = flask.Flask(__name__, static_folder = STATIC_PATH)
  app.secret_key = authConfig["signing_key"]
  app.register_blueprint(controllers.user.blueprint)
  app.register_blueprint(controllers.admin.blueprint)
  app.debug = True
  
subject: Set secret key in webserver.py