Simple Linux Panel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mdserver-web/main.py

26 lines
529 B

7 years ago
# coding:utf-8
7 years ago
from flask import Flask
7 years ago
from flask import Blueprint,render_template
7 years ago
from views import dashboard,site,files,soft
7 years ago
7 years ago
# app = Flask(__name__)
# app.debug = True
#
# DEFAULT_MODULES = (
# (dashboard, "/"),
# (site, "/site"),
# (files, "/files"),
# (soft, "/soft"),
# )
#
# def setting_modules(app, modules):
# for module, url_prefix in modules:
# app.register_blueprint(module, url_prefix=url_prefix)
#
# setting_modules(app, DEFAULT_MODULES)
7 years ago
7 years ago
#
# if __name__ == "__main__":
# app.run()