「🔨」 fix: fixed some things.

This commit is contained in:
KeyZox committed 2025-10-16 13:27:19 +02:00
1 parent 643acbc9a0
commit d1838e7722
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ import axios from 'axios'
* @param {import('fastify').FastifyInstance} fastify
*/
export async function authUserRemove(username, fastify) {
const url = (process.env.USER_URL || "http://localhost:3002/") + "users/" + username;
const url = ((process.env.USER_URL + "/") || "http://localhost:3002/") + "users/" + username;
const cookie = fastify.jwt.sign({ user: "admin" });
await axios.post(