Bug fixes

This commit is contained in:
2025-09-27 14:03:48 +02:00
parent 24aefe7838
commit aec851f0d1
5 changed files with 32 additions and 15 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ export default function Server() {
async function auth() {
const server_auth = (
(
await axios.post("http://localhost:3000/api/auth", {
server_ip: ip === "localhost" ? "127.0.0.1" : ip,
await axios.post("/api/auth", {
server_ip: ip,
session_token: Cookies.get("token"),
})
).data as any