DJICloudAPI frontend behind NGINX

已完成

评论

10 条评论

  • Neil Young

    No comments? I mean... it's a bug :)

    0
    评论操作 固定链接
  • DJI Developer Support
    We'll first consult with the relevant team and get back to you. However, since it's currently the Chinese New Year holiday period, we might need to wait until after the holiday (February 18th) to respond.
    0
    评论操作 固定链接
  • Neil Young

    Anything?

    0
    评论操作 固定链接
  • DJI Developer Support
    You can easily meet your requirements by directly setting the baseURL and websocketURL to HTTPS and WSS, respectively, within your config.ts file.
    0
    评论操作 固定链接
  • Neil Young

    No, unfortunately you are missing my point completely. Of course, my configuration is already for HTTPS and WSS. The problem is, that the component above appends "8080" to the wss URL, which fails.

    But feel free to ignore. I have a workaround.

    Thanks

    0
    评论操作 固定链接
  • Mario Kaufmann

    Hi Neil, I have same issue. Could you please tell me more about your workaround?

    Best wishes
    Mario

    0
    评论操作 固定链接
  • Neil Young

    All "workaround" is contained in my first post

    0
    评论操作 固定链接
  • Mario Kaufmann

    Hi Neil, thanks a lot.

    0
    评论操作 固定链接
  • Ma Ka

    Hi Neil
    Do you have more advice where I can find this?: ./node_modules/vite/dist/client/client.mjs
    I searched a lot on my server, but can't find it?

    Best wishes

    Mario

    0
    评论操作 固定链接
  • Neil Young

    If you use their frontend demo then you'll find it there.

    0
    评论操作 固定链接

请先登录再写评论。