mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2026-10-16 12:50:07 +02:00
「✨」 feat: added env variable to front
This commit is contained in:
4 files changed
+10
-4
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user