mirror of
https://github.com/srbhr/Resume-Matcher.git
synced 2026-01-27 09:29:03 +00:00
Setup | Resume Matcher
This commit is contained in:
2
Makefile
2
Makefile
@@ -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'
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user