feat(xb): unify DPL and HN backend, themes and registration reports
This commit is contained in:
1 parent
eb630d2caf
commit
1ded40226b
1082 files changed
+159466
-104
No files matched your search
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
import request from './request';␍
|
||||
␍
|
||||
␍
|
||||
export function fetchServerNodes() {␍
|
||||
return request({␍
|
||||
url: '/user/server/fetch',␍
|
||||
method: 'get'␍
|
||||
}).then(response => {␍
|
||||
if (typeof response === 'object') {␍
|
||||
return response;␍
|
||||
}␍
|
||||
␍
|
||||
throw new Error('Invalid response format');␍
|
||||
}).catch(error => {␍
|
||||
console.error('Error fetching server nodes:', error);␍
|
||||
throw error;␍
|
||||
});␍
|
||||
}
|
||||
Reference in new issue
Block a user