|
|
@ -155,6 +155,9 @@ def send_resource(path):
|
|
|
|
def generaltxt_help():
|
|
|
|
def generaltxt_help():
|
|
|
|
return render_template('generaltxt_help.html', title="使用說明")
|
|
|
|
return render_template('generaltxt_help.html', title="使用說明")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/data/<path:path>')
|
|
|
|
|
|
|
|
def get_data(path):
|
|
|
|
|
|
|
|
return send_from_directory('data', path)
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
if __name__ == "__main__":
|
|
|
|
app.run(debug=True, port=4980, host='0.0.0.0', threaded=False)
|
|
|
|
app.run(debug=True, port=4980, host='0.0.0.0', threaded=False)
|
|
|
|