🔨」 fix: fixed some things.

This commit is contained in:
2025-10-16 13:27:19 +02:00
parent 643acbc9a0
commit d1838e7722

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(