「✨」 feat: added env variable to front

This commit is contained in:
KeyZox committed 2025-10-16 13:25:36 +02:00
1 parent d80beff543
commit 2cafd7afac
4 files changed
+10 -4

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ export async function authUserCreate(username, fastify) {
};
const cookie = fastify.jwt.sign({ user: "admin" });
const url = process.env.USER_URL || "http://localhost:3002/"
const url = process.env.USER_URL + "/" || "http://localhost:3002/"
await axios.post(
url + "users/" + username,