diff --git a/src/App.jsx b/src/App.jsx index 7783bc6..3b9e6ff 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -11,12 +11,12 @@ export default function App() { } /> } /> diff --git a/src/script/script.jsx b/src/script/script.jsx index 1b85a01..5c478cd 100644 --- a/src/script/script.jsx +++ b/src/script/script.jsx @@ -132,7 +132,7 @@ export async function renderQRCode(employeeId, canvasElement) { document.body.appendChild(tmp); new QRCodeLib(tmp, { - text: `http://localhost:5173/employee/${cleanId}`, + text: `http://localhost:5173/empleado-id/${cleanId}`, width: 55, height: 55, colorDark: '#000000', diff --git a/vite.config.js b/vite.config.js index 02c3da0..e85d4b1 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,5 +4,5 @@ import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [react()], - base: '/employee' + base: '/empleado-id/' })