We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a2ece4 commit c97e7a1Copy full SHA for c97e7a1
.gitignore
@@ -1,3 +1,4 @@
1
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
venv
3
__pycache__
4
+game
app.py
@@ -22,5 +22,16 @@ def blog(path):
22
else:
23
return abort(404)
24
25
+
26
+@app.route('/game')
27
+@cross_origin()
28
+def game_index():
29
+ return send_from_directory('game', 'spacebuddy.html')
30
31
+@app.route('/game/<path:path>')
32
33
+def serve_game_static(path):
34
+ return send_from_directory('game', path)
35
36
if __name__ == "__main__":
37
app.run(debug=True)
0 commit comments