mirror of
https://github.com/acepanel/panel.git
synced 2026-02-07 16:47:14 +08:00
feat: 新增code server应用,close #82
This commit is contained in:
8
web/src/api/apps/codeserver/index.ts
Normal file
8
web/src/api/apps/codeserver/index.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { http } from '@/utils'
|
||||
|
||||
export default {
|
||||
// 获取配置
|
||||
config: (): any => http.Get('/apps/codeserver/config'),
|
||||
// 保存配置
|
||||
saveConfig: (config: string): any => http.Post('/apps/codeserver/config', { config })
|
||||
}
|
||||
Reference in New Issue
Block a user