Improve photo handling and fix data transfer issues during sales recording

Removes the camera test button and increases the request size limit in Express to address PayloadTooLargeError.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/7df9e24f-d78b-4589-9a08-c70e02d6d7d9.jpg
This commit is contained in:
michaelschal committed 2025-07-11 18:11:37 +00:00
1 parent a6a188e68f
commit e48337925c
2 files changed
+5 -17

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@ import { startBackupScheduler } from "./backup-scheduler";
import { startPurgeScheduler } from "./data-purge";
const app = express();
app.use(express.json());
app.use(express.urlencoded({ extended: false }));
app.use(express.json({ limit: '10mb' }));
app.use(express.urlencoded({ extended: false, limit: '10mb' }));
app.use((req, res, next) => {
const start = Date.now();