mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-22 01:24:00 +08:00
16 lines
261 B
Python
16 lines
261 B
Python
# coding:utf-8
|
|
|
|
from flask import Blueprint, render_template
|
|
|
|
plugins = Blueprint('plugins', __name__, template_folder='templates')
|
|
|
|
|
|
@plugins.route("/")
|
|
def index():
|
|
return render_template('default/ftp.html')
|
|
|
|
|
|
@plugins.route("/list")
|
|
def list():
|
|
pass
|