update site

remove old admin panel, update plugin, etc.
This commit is contained in:
red binder 2026-08-08 04:04:20 +02:00
commit 7871e7917e
14 changed files with 36 additions and 112 deletions

View file

@ -36,7 +36,7 @@ pub fn router() -> Router {
async fn gen_token(Json(payload): Json<GenerateTokenRequest>) -> Result<Json<TokenResponse>, StatusCode> {
let client = Client::new();
let account_url = env::var("ACCOUNT_URL").unwrap_or("https://account.spfn.net".into());
let account_url = env::var("ACCOUNT_URL").unwrap_or("https://account.spbr.net".into());
let client_id = env::var("ACCOUNT_CLIENT_ID").unwrap_or("account".into());
let client_secret = match env::var("ACCOUNT_CLIENT_SECRET") {
Ok(secret) => secret,