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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user