mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 528|reply: 1
打印 prevThread nextThread

接口不通

[copyURL]

6

主题

10

帖子

38

积分

newBie

Rank: 1

积分
38
jumpTo
owner
poston 2024-4-11 17:35 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
devServer: {
    port: 8080,
    proxy: {
      "^/bvcsp": {
        target: "https://192.168.10.72:9781",
        secure: true,
        ws: true,
        changeOrigin: true,
      },
      "^/bvvtdu": {
        target: "https://192.168.10.72:9781",
        secure: true,
        ws: true,
        changeOrigin: true,
      },
      "^/bvnru": {
        target: "https://192.168.10.72:9781",
        secure: true,
        ws: true,
        changeOrigin: true,
      }
    },server端ip 192.168.10.72 ,客户端访问接口地址 提示  Proxy error: Could not proxy request /bvcsp/v1/auth/login from localhost:8080 to https://192.168.10.72:9781 (CERT_HAS_EXPIRED).
reply

使用道具 report

6

主题

438

帖子

1722

积分

vipMem

Rank: 6Rank: 6

积分
1722
sofa
poston 2024-4-11 17:56 | authorOnly
每个代理 secure: true  改成 secure: false
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-12-23 12:17 , Processed in 0.055666 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList