set up new workflow and migrate to .forgejo dir #5

Merged
baobeld merged 17 commits from refactor/deploy-to-netlify-through-forgejo-workflow into main 2026-08-11 20:55:29 -04:00
Showing only changes of commit 37d44b6216 - Show all commits

View file

@ -1,4 +1,4 @@
import { DISCORD_CONTACT_WEBHOOK } from '$env/static/private';
import { env } from '$env/dynamic/private';
export async function sendContactMessage(name: string, email: string, message: string) {
const form = new FormData();
@ -16,5 +16,5 @@ export async function sendContactMessage(name: string, email: string, message: s
form.append('content', content);
return await fetch(DISCORD_CONTACT_WEBHOOK, { method: 'POST', body: form });
return await fetch(env.DISCORD_CONTACT_WEBHOOK, { method: 'POST', body: form });
}