From dc2fa3e681e8e8e5b33ca8a58600f0e7dd5d3f47 Mon Sep 17 00:00:00 2001 From: EidanThen Date: Fri, 10 Jul 2026 11:58:52 -0400 Subject: [PATCH] feat: update base path, and add image processing utility scripts --- src/App.jsx | 4 ++-- src/script/script.jsx | 2 +- vite.config.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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/' })