Fix serverless functions: simplify API structure

- Replace complex Express-style handler with simple module.exports
- Add separate API endpoints for better organization
- Simplify vercel.json routing configuration
- Remove ES modules to use CommonJS for Vercel compatibility
- Add dedicated test API endpoint for debugging
This commit is contained in:
2025-08-21 13:32:53 +09:00
parent ec5da4db32
commit 08894eeb66
5 changed files with 73 additions and 43 deletions

View File

@@ -2,7 +2,6 @@
"name": "jaryo-file-manager",
"version": "2.0.0",
"description": "자료실 파일 관리 시스템 - Vercel Serverless",
"type": "module",
"scripts": {
"dev": "vercel dev",
"build": "echo 'Build complete'",