fix: update config for video serving
This commit is contained in:
parent
55c2bc5e12
commit
05786a9517
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -8,5 +8,9 @@ export default defineConfig({
|
|||
assetsDir: 'assets',
|
||||
copyPublicDir: true
|
||||
},
|
||||
publicDir: 'public'
|
||||
preview: {
|
||||
port: 804,
|
||||
host: true,
|
||||
strictPort: true
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue