You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
253 B

from flask import Flask
from flask_cors import CORS
build_folder = '../client/build'
app = Flask(__name__, static_folder=build_folder, static_url_path='')
CORS(app)
@app.route('/')
def index():
return app.send_static_file('index.html')
app.run()