Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8fdc28e

Browse files
committed
Moved the static folder so it can be shared with the SPA.
1 parentbe57778 commit8fdc28e

13 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

3-
mkdir -p ../server/static/wheels
3+
mkdir -p ../static/wheels
44
cd src
55
unzip ../base-wheel.zip
6-
zip ../../server/static/wheels/freedom-0.0.1-py3-none-any.whl -r freedom*
6+
zip ../../static/wheels/freedom-0.0.1-py3-none-any.whl -r freedom*
77
rm -rf freedom-0.0.1.dist-info

‎pyscriptjs/examples/toga/server/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
fromfreedomimportappasfreedom
66

7-
app=Flask(__name__)
7+
app=Flask(__name__,static_folder='../static')
88

99
app.add_url_rule('/',view_func=TogaApp.as_view("foo",app_module=freedom))
1010

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp