update domain
This commit is contained in:
parent
432931aab2
commit
d4d6fd3d07
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue