feat(pwa): enable https with @vitejs/plugin-basic-ssl for mobile camera access
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user