11 lines
272 B
Python
11 lines
272 B
Python
from flask import Flask, send_from_directory
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/")
|
|
def svelte_index():
|
|
return send_from_directory("webapp/build", "index.html")
|
|
|
|
@app.route("/<path:path>")
|
|
def svelte_client(path):
|
|
return send_from_directory("webapp/build/", path) |