We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ef7e38 commit 73b56d3Copy full SHA for 73b56d3
main.py
@@ -26,7 +26,8 @@
26
send_file,
27
Response,
28
jsonify,
29
- send_from_directory)
+ send_from_directory,
30
+ redirect)
31
from flask_babel import Babel
32
from flask_cors import CORS
33
from werkzeug.datastructures import Headers
@@ -112,8 +113,12 @@ def render_static_assets4(filename):
112
113
def render_static_assets5(filename):
114
return send_from_directory('dist', filename)
115
116
+@app.route('/')
117
+def render_static_assets6():
118
+ return redirect('/vue/index.html', code=302)
119
+
120
# Serve web app application templates
-@app.route("/")
121
+@app.route("/2")
122
def handle_home():
123
return render_template('main.html',
124
host=request.host[:request.host.find(':')],
0 commit comments