mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-05 13:10:41 +02:00
frontend: updating build command, location of static files
This commit is contained in:
parent
532390c3fd
commit
fb0d1c3d07
@ -20,7 +20,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "NODE_ENV=development react-scripts start",
|
"start": "NODE_ENV=development react-scripts start",
|
||||||
"build": "BUILD_PATH='../src/frontend' react-scripts build",
|
"build": "BUILD_PATH='../src/pyDataInterface/frontend' react-scripts build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
},
|
},
|
||||||
|
@ -142,7 +142,7 @@ class WebAPI:
|
|||||||
app.mount(
|
app.mount(
|
||||||
"/",
|
"/",
|
||||||
StaticFiles(
|
StaticFiles(
|
||||||
directory=Path(__file__).parent.parent.parent / "frontend",
|
directory=Path(__file__).parent.parent / "frontend",
|
||||||
html=True,
|
html=True,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user