first commit
This commit is contained in:
16
vite.config_.js
Normal file
16
vite.config_.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
https: {
|
||||
key: './.cert/key.pem',
|
||||
cert: './.cert/cert.pem'
|
||||
},
|
||||
host: true,
|
||||
port: 5173,
|
||||
cors: true,
|
||||
allowedHosts: ["srv413259.hstgr.cloud"],
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user