From d1838e7722673b62ee9451288bbdec3249f9f7bd Mon Sep 17 00:00:00 2001 From: adjoly Date: Thu, 16 Oct 2025 13:27:19 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20some=20things.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/authUserRemove.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/authUserRemove.js b/src/utils/authUserRemove.js index 071a51f..ba892fc 100644 --- a/src/utils/authUserRemove.js +++ b/src/utils/authUserRemove.js @@ -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(