feat(pwa): enable https with @vitejs/plugin-basic-ssl for mobile camera access

This commit is contained in:
Carlos Tello
2026-10-29 21:29:53 -03:00
parent cb63806547
commit 17c9957514
3 changed files with 17 additions and 1 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import basicSsl from '@vitejs/plugin-basic-ssl';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [react(), basicSsl()],
server: {
host: '0.0.0.0', // Permite acceso desde tablets Samsung en la LAN
port: 5173,