mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 19:05:55 +02:00
[frontend-next] Refactored fronted
This commit is contained in:
parent
2f91918f54
commit
2fff1f5181
193 changed files with 3920 additions and 26548 deletions
13
frontend/src/api/ngx.ts
Normal file
13
frontend/src/api/ngx.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import http from '@/lib/http'
|
||||
|
||||
const ngx = {
|
||||
build_config(ngxConfig: any) {
|
||||
return http.post('/ngx/build_config', ngxConfig)
|
||||
},
|
||||
|
||||
tokenize_config(content: string) {
|
||||
return http.post('/ngx/tokenize_config', {content})
|
||||
}
|
||||
}
|
||||
|
||||
export default ngx
|
Loading…
Add table
Add a link
Reference in a new issue