Skip to content

Commit 2806dac

Browse files
committed
rename static/ dir to app/
1 parent 3c8e162 commit 2806dac

File tree

15 files changed

+16
-18
lines changed

15 files changed

+16
-18
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
graft idom/client/static/build
1+
graft idom/client/app/build
22
include idom/py.typed
33
include LICENSE
44
include requirements/prod.txt

docs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ADD setup.py ./
2121
ADD setup.cfg ./
2222
ADD MANIFEST.in ./
2323
ADD README.md ./
24-
ADD idom/client/static/favicon.ico ./
24+
ADD idom/client/app/favicon.ico ./
2525

2626
RUN pip install -e .[all]
2727
RUN python -m idom install victory semantic-ui-react @material-ui/core

docs/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
from sanic import response
88

99
from idom.widgets.utils import multiview
10-
from idom.client.manage import STATIC_DIR
10+
from idom.client.manage import APP_DIR
1111
from idom.server.sanic import PerClientStateServer
1212

1313
here = Path(__file__).parent
1414

1515
app = Sanic(__name__)
1616
app.static("/docs", str(here / "build"))
17-
app.static("/favicon.ico", str(STATIC_DIR / "favicon.ico"))
17+
app.static("/favicon.ico", str(APP_DIR / "favicon.ico"))
1818

1919

2020
@app.route("/")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)