From dc5fba2e5ada98516fcb47731a7e83f6de233a5e Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Mon, 7 Sep 2020 15:00:21 +0200 Subject: [PATCH] fix origin glitch --- dist/static/assets/webcam.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/static/assets/webcam.js b/dist/static/assets/webcam.js index 8cf5e0e7..915db520 100644 --- a/dist/static/assets/webcam.js +++ b/dist/static/assets/webcam.js @@ -93,10 +93,10 @@ const detection_options = { withLandmarks: true, withDescriptors: false, minConfidence: 0.5, - Mobilenetv1Model: location.origin + '/assets/faceapi', - FaceLandmarkModel: location.origin + '/assets/faceapi', - FaceLandmark68TinyNet: location.origin + '/assets/faceapi', - FaceRecognitionModel: location.origin + '/assets/faceapi', + Mobilenetv1Model: '/assets/faceapi', + FaceLandmarkModel: '/assets/faceapi', + FaceLandmark68TinyNet: '/assets/faceapi', + FaceRecognitionModel: '/assets/faceapi', }