mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
13 lines
259 B
JavaScript
13 lines
259 B
JavaScript
import http from '@/lib/http'
|
|
|
|
const ngx = {
|
|
build_config(ngxConfig) {
|
|
return http.post('/ngx/build_config', ngxConfig)
|
|
},
|
|
|
|
tokenize_config(content) {
|
|
return http.post('/ngx/tokenize_config', {content})
|
|
}
|
|
}
|
|
|
|
export default ngx
|