DJICloudAPI frontend behind NGINX

Completed

Comments

10 comments

  • Neil Young

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

    0
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • Neil Young

    Anything?

    0
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • Mario Kaufmann

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

    Best wishes
    Mario

    0
    Comment actions Permalink
  • Neil Young

    All "workaround" is contained in my first post

    0
    Comment actions Permalink
  • Mario Kaufmann

    Hi Neil, thanks a lot.

    0
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • Neil Young

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

    0
    Comment actions Permalink

Please sign in to leave a comment.