fix: update config for video serving

This commit is contained in:
TheMaddax 2024-12-09 17:30:49 -06:00
parent 55c2bc5e12
commit 05786a9517
2 changed files with 7 additions and 3 deletions

View file

@ -11,7 +11,7 @@ services:
volumes:
- type: bind
source: /docker/websites/deafgain/video_content
target: /app/public/videos
target: /app/dist/videos
environment:
- NODE_ENV=production
- PORT=804

View file

@ -8,5 +8,9 @@ export default defineConfig({
assetsDir: 'assets',
copyPublicDir: true
},
publicDir: 'public'
preview: {
port: 804,
host: true,
strictPort: true
}
})