feat: improve archive frontend and open-source docs

This commit is contained in:
YGC
2026-07-02 21:38:42 +08:00
parent 97d29e1135
commit e2e7cf85b1
27 changed files with 922 additions and 223 deletions
+6 -1
View File
@@ -1,5 +1,10 @@
import request from './request'
import request, { getServerApiURL } from './request'
export function getPublicConfig() {
return request.get('/config/public')
}
export async function fetchPublicConfigForServer(init?: Parameters<typeof fetch>[1]) {
const response = await fetch(getServerApiURL('/config/public'), init)
return response.json()
}