forked from spacebar/spfn-website
update site
remove old admin panel, update plugin, etc.
This commit is contained in:
parent
bfab0c0f88
commit
7871e7917e
14 changed files with 36 additions and 112 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue