Skip to content

Commit e1fae3e

Browse files
authored
Update app.py
1 parent bbb61ec commit e1fae3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def serve_edit():
149149

150150
@app.route('/login.html')
151151
def serve_login():
152-
return render_template('login.html')
152+
return send_from_directory(app.static_folder, 'login.html')
153153

154154
if __name__ == '__main__':
155155
app.run(host="0.0.0.0", port=8080)

0 commit comments

Comments
 (0)