mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-29 20:29:33 +01:00
12 lines
314 B
TypeScript
12 lines
314 B
TypeScript
import { defineConfig } from 'vite';
|
|||
|
|
|
||
|
|
// getUserMedia requires a secure context. http://localhost counts as secure,
|
||
|
|
// so the dev server below is fine. If you serve to another device, use https.
|
||
|
|
export default defineConfig({
|
||
|
|
root: '.',
|
||
|
|
server: {
|
||
|
|
host: 'localhost',
|
||
|
|
port: 5173,
|
||
|
|
open: true,
|
||
|
|
},
|
||
|
|
});
|