DJICloudAPI frontend behind NGINX

已完成

评论

12 条评论

  • Neil Young

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

    0
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • 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
    评论操作 固定链接
  • chris18854

    Hey Neil, this seems to be fixed. Did you ever test that again? My setup works fine behind nginx reverse proxy by only setting the urls in the config files and... yeah... some minor changes to some other files but all in all, its working without big trouble finding that out.

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

    Oh, I didn't check for a long time, sorry. If it is fixed - good :)

    0
    评论操作 固定链接

请先登录再写评论。