mirror of
https://github.com/wisdgod/cursor-api.git
synced 2025-10-06 07:06:51 +08:00
这是可回退普通版的提交
This commit is contained in:
@@ -63,6 +63,9 @@ async fn main() {
|
||||
let token_infos = load_tokens();
|
||||
|
||||
// 初始化应用状态
|
||||
#[cfg(feature = "sqlite")]
|
||||
let state = Arc::new(Mutex::new(AppState::new()));
|
||||
#[cfg(not(feature = "sqlite"))]
|
||||
let state = Arc::new(Mutex::new(AppState::new(token_infos)));
|
||||
|
||||
// 设置路由
|
||||
|
Reference in New Issue
Block a user