mirror of https://github.com/midoks/mdserver-web
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.
16 lines
340 B
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'})
|