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/route/files.py

16 lines
340 B

7 years ago
# coding:utf-8
from flask import Flask
from flask import Blueprint,render_template
from flask import jsonify
files = Blueprint('files', __name__, template_folder='templates')
@files.route("/")
def index():
return render_template('default/files.html')
@files.route("/GetDiskInfo")
def GetDiskInfo():
return jsonify({'result':'ok'})