From d4d6fd3d07fb89b29981092d066977ea7a9d329e Mon Sep 17 00:00:00 2001 From: red binder Date: Sat, 8 Aug 2026 21:17:43 +0200 Subject: [PATCH] update domain --- judd/routes/post.js | 4 ++-- services/auth.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/judd/routes/post.js b/judd/routes/post.js index f20a2a3..e8c7c00 100644 --- a/judd/routes/post.js +++ b/judd/routes/post.js @@ -34,7 +34,7 @@ router.post('/post', postLimiter, async (request, response, next) => { try { let isPidValid = true; try { - const spfnCheck = await axios.get(`https://account.spfn.net/api/v2/users/${pid}/mii`); + const spfnCheck = await axios.get(`https://account.spbr.net/api/v2/users/${pid}/mii`); if (typeof spfnCheck.data === 'string' && spfnCheck.data.includes('0008')) { isPidValid = false; } @@ -116,4 +116,4 @@ router.post('/post', postLimiter, async (request, response, next) => { return response.send('success'); }); -module.exports = router; \ No newline at end of file +module.exports = router; diff --git a/services/auth.py b/services/auth.py index 1064edc..efd1f49 100644 --- a/services/auth.py +++ b/services/auth.py @@ -2,7 +2,7 @@ import requests from config import settings from argon2 import PasswordHasher -API_URL = "https://account.spfn.net/api/v2" +API_URL = "https://account.spbr.net/api/v2" CLIENT_ID = "splatnet" CLIENT_SECRET = settings.account_client_secret ph = PasswordHasher() @@ -38,4 +38,4 @@ def get_profile(token): response = requests.get(url, headers=headers, timeout=10) - return response.json() if response.ok else None \ No newline at end of file + return response.json() if response.ok else None