Setup | Resume Matcher

This commit is contained in:
Rahul Veer Singh
2025-05-25 18:03:16 +00:00
parent b5566d0dde
commit a96defcea7
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ setup:
@echo "🔧 Running setup.sh…"
@bash setup.sh
run-dev: setup
run-dev:
@echo "🚀 Starting development server…"
@bash -c 'trap "echo "\n🛑 Development server stopped"; exit 0" SIGINT; npm run dev'

View File

@@ -68,8 +68,8 @@ export default function FileUpload() {
message: `${(uploadedFile.file as FileMetadata).name} uploaded successfully!`,
});
clearErrors();
window.location.href = `/jobs/upload?resume_id=${encodeURIComponent(resumeId)}`
const encodedResumeId = encodeURIComponent(resumeId);
window.location.href = `/jobs/upload?resume_id=${encodedResumeId}`;
},
onUploadError: (file, errorMsg) => {
console.error('Upload error:', file, errorMsg);