go #49

Merged
niggl merged 96 commits from go into main 2024-12-12 15:11:31 +00:00
3 changed files with 3 additions and 0 deletions
Showing only changes of commit 0dbd7311ab - Show all commits

View File

@ -5,6 +5,8 @@ services:
build: .
ports:
- 4010:4010
# volumes:
# - ./lelelelele.pdf:/app/app/static/img/lelelelele.pdf
environment:
APP_PORT: 4010
NODE_ENV: production

View File

@ -20,5 +20,6 @@ export default async (app: Application) => {
res.json(spec);
});
app.use('/docs', express.static(path.join(__dirname, '../static/docs'), { index: "index.html", extensions: ['html'] }));
app.use('/img', express.static(path.join(__dirname, '../static/img')));
return app;
};

0
src/static/img/.gitkeep Normal file
View File