Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit e4e7f5f

Browse files
committed
1
1 parent f3f83cc commit e4e7f5f

4 files changed

Lines changed: 6614 additions & 3520 deletions

File tree

client/stats.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

server/middleware/checkattendance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export const checkAttendanceRecord = async (req, res, next) => {
9797
const token = jwt.sign({id: user._id}, process.env.JWT_SECRET_KEY, {expiresIn: '24h'});
9898

9999
// Create incident report upload URL
100-
const uploadIrUrl = `${process.env.DEV_URL}/uploadIncident/${user._id}/${token}`;
100+
const uploadIrUrl = `${process.env.CLIENT_URL}/uploadIncident/${user._id}/${token}`;
101101
console.log('UploadIR link:', uploadIrUrl);
102102

103103
// Set up email transporter

0 commit comments

Comments
 (0)