fix: all pages now use the right backend url + backend uses .env of root too

This commit is contained in:
theoleuthardt 2025-02-24 16:22:28 +01:00
parent 0d92719258
commit 607d496f2a
11 changed files with 22 additions and 14 deletions

View file

@ -19,7 +19,7 @@ export default function TMZConverter() {
try {
const response = await fetch(
process.env.backend_url + "/api/tmz-convert",
process.env.NEXT_PUBLIC_BACKEND_URL + "/api/tmz-convert",
{
method: "POST",
headers: {