mobile CCTV,mobile surveillance,police body worn cameras

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

接口不通

[copyURL]

5

主题

9

帖子

33

积分

newBie

Rank: 1

积分
33
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

主题

407

帖子

1614

积分

vipMem

Rank: 6Rank: 6

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

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-3 20:33 , Processed in 0.058596 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList