mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Enable the Vue 3 front-end
This commit is contained in:
14
resources/js/services/appSettingService.js
vendored
Normal file
14
resources/js/services/appSettingService.js
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
import { httpClientFactory } from '@/services/httpClientFactory'
|
||||
|
||||
const apiClient = httpClientFactory('api')
|
||||
|
||||
export default {
|
||||
/**
|
||||
*
|
||||
* @returns
|
||||
*/
|
||||
update(name, value) {
|
||||
return apiClient.put('/settings/' + name, { value: value })
|
||||
},
|
||||
|
||||
}
|
Reference in New Issue
Block a user