update path handling
All checks were successful
deploy / build-and-deploy (push) Successful in 22s

This commit is contained in:
2025-05-18 15:26:52 +02:00
parent 13a8eae450
commit 28ead9a281
20 changed files with 61 additions and 47 deletions

View File

@@ -2,7 +2,7 @@ import { z } from 'astro:schema';
import type { APIRoute } from 'astro';
import { API_SECRET } from 'astro:env/server';
import { db } from '@db/database.ts';
import { BASE_PATH } from 'astro:env/client';
import { BASE_PATH } from 'astro:env/server';
const postSchema = z.object({
event: z.string(),