mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-19 17:46:36 +03:00
- Add missing /api/patterns.js endpoint (was causing 404) - Fix Tailwind CSS: compile with @tailwindcss/cli instead of Bun virtual module - Update API handlers to use standard Vercel function export format - Configure vercel.json with proper Bun runtime (runtime: "bun@1") - Add @tailwindcss/cli to devDependencies - Add generated styles.css to .gitignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
404 B
JavaScript
13 lines
404 B
JavaScript
import { handleBundleDownload } from "../../../server/lib/api-handlers.js";
|
|
|
|
export default async function handler(request) {
|
|
const url = new URL(request.url);
|
|
const pathParts = url.pathname.split('/').filter(Boolean);
|
|
|
|
// Extract provider from path: /api/download/bundle/[provider]
|
|
const provider = pathParts[3]; // after 'api', 'download', 'bundle'
|
|
|
|
return handleBundleDownload(provider);
|
|
}
|
|
|