mirror of
https://github.com/immich-app/immich.git
synced 2025-07-13 20:38:46 +02:00
Fixed issue socket-io cannot be connected in production build on web
This commit is contained in:
parent
1e3464fe47
commit
c4247bfea3
3 changed files with 14 additions and 1 deletions
|
@ -10,6 +10,13 @@ const config = {
|
|||
methodOverride: {
|
||||
allowed: ['PATCH', 'DELETE'],
|
||||
},
|
||||
vite: {
|
||||
resolve: {
|
||||
alias: {
|
||||
'xmlhttprequest-ssl': './node_modules/engine.io-client/lib/xmlhttprequest.js',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue