mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +00:00
Small changes in CI script and vite config
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
import {defineConfig} from 'vite';
|
||||
import laravel from 'laravel-vite-plugin';
|
||||
// import manifestSRI from 'vite-plugin-manifest-sri';
|
||||
import manifestSRI from 'vite-plugin-manifest-sri';
|
||||
|
||||
const host = '127.0.0.1';
|
||||
|
||||
@@ -65,20 +65,13 @@ export default defineConfig({
|
||||
publicDirectory: '../../../public',
|
||||
refresh: true,
|
||||
}),
|
||||
//manifestSRI(),
|
||||
manifestSRI(),
|
||||
|
||||
],
|
||||
|
||||
|
||||
server: {
|
||||
usePolling: true,
|
||||
allowedHosts: '*.sd.internal',
|
||||
host: '0.0.0.0',
|
||||
hmr: {host},
|
||||
cors: true
|
||||
// https: {
|
||||
// key: fs.readFileSync(`/Users/sander/Sites/vm/tls-certificates/wildcard.sd.local.key`),
|
||||
// cert: fs.readFileSync(`/Users/sander/Sites/vm/tls-certificates/wildcard.sd.local.crt`),
|
||||
// },
|
||||
host: '10.0.0.15',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user