2017-07-12 06:40:24 +00:00
|
|
|
from flask import Flask,send_from_directory
|
|
|
|
|
app = Flask(__name__,static_url_path='',static_folder='build')
|
|
|
|
|
|
|
|
|
|
@app.route('/')
|
2017-07-12 07:55:24 +00:00
|
|
|
def walle_index():
|
2017-07-12 06:40:24 +00:00
|
|
|
return app.send_static_file('index.html')
|
2017-07-12 07:55:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/test')
|
|
|
|
|
def walle_test():
|
|
|
|
|
return "test"
|