This commit is contained in:
seb
2026-10-06 11:19:33 +02:00
parent 1d1017e44b
commit b99e767c57
8 changed files with 301 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import { handleClient } from './routes/client.js';
import { handleInit } from './routes/init.js';
import { handleCategory } from './routes/category.js';
import { handleProduct } from './routes/product.js';
import { handlePimage } from './routes/pimage.js';
const router = Router();
@@ -17,5 +18,9 @@ router.get('/init', posAuthMiddleware, handleInit);
router.get('/category', posAuthMiddleware, handleCategory);
router.get('/product', posAuthMiddleware, handleProduct);
// POS image delivery
router.get('/pimage', handlePimage);
router.get('/cimage', handlePimage);
export default router;