update domain

This commit is contained in:
red binder 2026-08-08 21:17:43 +02:00
commit d4d6fd3d07
2 changed files with 4 additions and 4 deletions

View file

@ -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('<code>0008</code>')) {
isPidValid = false;
}

View file

@ -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()