mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-12 02:45:49 +02:00
refactor: project directory structure
This commit is contained in:
parent
c1193a5b8c
commit
e5a5889931
367 changed files with 710 additions and 756 deletions
12
app/src/api/settings.ts
Normal file
12
app/src/api/settings.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import http from '@/lib/http'
|
||||
|
||||
const settings = {
|
||||
get() {
|
||||
return http.get('/settings')
|
||||
},
|
||||
save(data: any) {
|
||||
return http.post('/settings', data)
|
||||
}
|
||||
}
|
||||
|
||||
export default settings
|
Loading…
Add table
Add a link
Reference in a new issue