live refresh
This commit is contained in:
@@ -8,6 +8,9 @@ services:
|
|||||||
- CHOKIDAR_USEPOLLING=1
|
- CHOKIDAR_USEPOLLING=1
|
||||||
ports:
|
ports:
|
||||||
- "5173:5173"
|
- "5173:5173"
|
||||||
|
volumes:
|
||||||
|
- .:/app
|
||||||
|
- /app/node_modules
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend-dev
|
- backend-dev
|
||||||
profiles:
|
profiles:
|
||||||
@@ -22,6 +25,9 @@ services:
|
|||||||
- CLIENT_ORIGIN=http://localhost:5173
|
- CLIENT_ORIGIN=http://localhost:5173
|
||||||
ports:
|
ports:
|
||||||
- "4000:4000"
|
- "4000:4000"
|
||||||
|
volumes:
|
||||||
|
- ./server:/app
|
||||||
|
- /app/node_modules
|
||||||
profiles:
|
profiles:
|
||||||
- imgpub-app-dev
|
- imgpub-app-dev
|
||||||
|
|
||||||
|
|||||||
@@ -5,12 +5,13 @@
|
|||||||
"description": "EPUB generation server for imgPub",
|
"description": "EPUB generation server for imgPub",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node index.js"
|
"dev": "nodemon index.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"epub-gen": "^0.1.0",
|
"epub-gen": "^0.1.0",
|
||||||
"express": "^4.19.2",
|
"express": "^4.19.2",
|
||||||
|
"nodemon": "^3.1.4",
|
||||||
"uuid": "^9.0.1"
|
"uuid": "^9.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ const App = () => {
|
|||||||
letterSpacing: 1,
|
letterSpacing: 1,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
imgpub
|
imagepub
|
||||||
</Typography>
|
</Typography>
|
||||||
<Stack direction="row" spacing={3} alignItems="center">
|
<Stack direction="row" spacing={3} alignItems="center">
|
||||||
<Typography
|
<Typography
|
||||||
|
|||||||
Reference in New Issue
Block a user