Initial commit
This commit is contained in:
9
src/pages/p.ts
Normal file
9
src/pages/p.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { APIRoute } from 'astro';
|
||||
import { buildPushScript } from '../lib/sync';
|
||||
|
||||
export const GET: APIRoute = async ({ url }) => {
|
||||
const script = await buildPushScript(url.origin, '.claude/skills');
|
||||
return new Response(script, {
|
||||
headers: { 'Content-Type': 'text/plain; charset=utf-8' },
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user