mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-11 18:50:59 +08:00
fix: expose rust acceleration availability
This commit is contained in:
@@ -515,6 +515,7 @@ async def get_env_setting(_: User = Depends(get_current_active_user_async)):
|
||||
"AUTH_VERSION": SitesHelper().auth_version,
|
||||
"INDEXER_VERSION": SitesHelper().indexer_version,
|
||||
"FRONTEND_VERSION": SystemChain().get_frontend_version(),
|
||||
"RUST_ACCEL_AVAILABLE": rust_accel.is_available(),
|
||||
"RUST_ACCEL_ENABLED": rust_accel.is_enabled(),
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user