old_contents: import config
  import json
  import ajax
  import utils
  from flask import Flask,render_template
  app = Flask(__name__)
  app.template_folder = "views"
  app.jinja_env.add_extension("pyjade.ext.jinja.PyJadeExtension")
  app.jinja_env.auto_reload=config.web["is_debug"]
  app.debug=config.web["is_debug"]
  app.config["web_config_json"]=json.dumps(config.public)
  app.secret_key=config.web["secret_key"]
  
  app.register_blueprint(ajax.app)
  
  @app.route('/')
  @utils.login_required
  def indexPage():
      return render_template("index.jade")
  @app.route('/login')
  def loginPage():
      return render_template("login.jade")
  
  if(__name__ == "__main__"):
      app.run(
          port=config.web["port"]
      )
new_contents: import config
  import json
  import ajax
  import utils
  from flask import Flask,render_template
  app = Flask(__name__)
  app.template_folder = "views"
  app.jinja_env.add_extension("pyjade.ext.jinja.PyJadeExtension")
  app.jinja_env.auto_reload=config.web["is_debug"]
  app.debug=config.web["is_debug"]
  app.config["web_config_json"]=json.dumps(config.public)
  app.secret_key=config.web["secret_key"]
  
  app.register_blueprint(ajax.app)
  
  @app.route('/')
  @utils.login_required
  def indexPage():
      return render_template("index.jade")
  
  @app.route('/login')
  def loginPage():
      return render_template("login.jade")
  
  if(__name__ == "__main__"):
      app.run(
          port=config.web["port"]
      )
subject: add one line