17 lines
326 B
JavaScript
17 lines
326 B
JavaScript
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"],
|
|
}
|
|
});
|