mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-16 19:57:36 +08:00
login wallpapers cache
This commit is contained in:
@@ -40,7 +40,7 @@ export default api
|
||||
|
||||
export async function fetchGlobalSettings() {
|
||||
try {
|
||||
const result: { [key: string]: any } = await api.get('system/env')
|
||||
const result: { [key: string]: any } = await api.get('system/global')
|
||||
return result.data || {}
|
||||
} catch (error) {
|
||||
console.error('Failed to fetch global settings', error)
|
||||
|
||||
Reference in New Issue
Block a user