Merge pull request #4498 from jumpserver/pr@dev@feat_change_face_context_url

feat: change face context url
This commit is contained in:
Chenyang Shen 2024-12-09 16:55:22 +08:00 committed by GitHub
commit ec5f2e69eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,7 +225,7 @@ export default {
})
},
startFaceCapture() {
const url = '/api/v1/authentication/mfa/face/context/'
const url = '/api/v1/authentication/face/context/'
this.$axios.post(url).then(data => {
const token = data['token']
this.faceCaptureUrl = '/facelive/capture?token=' + token