1
0
mirror of https://github.com/pyscript/pyscript.git synced 2022-05-01 19:47:48 +03:00

Moved the static folder so it can be shared with the SPA.

This commit is contained in:
Russell Keith-Magee
2022-04-20 08:04:53 +08:00
parent be57778651
commit 8fdc28edcc
13 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ from toga_flask import TogaApp
from freedom import app as freedom
app = Flask(__name__)
app = Flask(__name__, static_folder='../static')
app.add_url_rule('/', view_func=TogaApp.as_view("foo", app_module=freedom))