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
308 B
16 lines
308 B
# coding:utf-8
|
|
|
|
from flask import Blueprint, render_template
|
|
from flask import jsonify
|
|
|
|
plugins = Blueprint('plugins', __name__, template_folder='templates')
|
|
|
|
|
|
@plugins.route("/")
|
|
def index():
|
|
return render_template('default/ftp.html')
|
|
|
|
|
|
@plugins.route("/list")
|
|
def list():
|
|
return jsonify({"ss": 3})
|
|
|