瀏覽代碼

人脸识别页面

郎学彬 3 年之前
父節點
當前提交
b15130679c
共有 2 個文件被更改,包括 89 次插入1 次删除
  1. 81 0
      front-vue/src/views/faceAuth.vue
  2. 8 1
      front-vue/vue.config.js

文件差異過大導致無法顯示
+ 81 - 0
front-vue/src/views/faceAuth.vue


+ 8 - 1
front-vue/vue.config.js

@@ -34,11 +34,18 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        target: `http://192.168.1.9:8081`,
+        target: `http://192.168.0.127:8081`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''
         }
+      },
+      [process.env.VUE_APP_FACE_AUTH]:{
+        target: `https://dsptest.cpcn.com.cn/DSPLivenessWeb/InterfaceVI`,
+        changeOrigin: true,
+        pathRewrite: {
+          ['^'+ process.env.VUE_APP_FACE_AUTH]: ''
+        }
       }
     },
     disableHostCheck: true