mikedmor / OctoPrint_MultiCam

Extends the Control tab of OctoPrint, allowing the ability to switch between multiple webcam feeds.
45 stars 19 forks source link

403 Error loading plugin #70

Open thurask opened 2 months ago

thurask commented 2 months ago

I would get a 403 error in the console on Octoprint (running with HAProxy and HTTPS) startup when the plugin attempts to HTTP GET classic webcam status, and a black error box instead of the camera stream. The output is accessible on the camera's stream URL in spite of the error. Removing the leading / from this line in multicam_settings.js seems to have stopped the error:

url: "/plugin/multicam/classicwebcamstatus",

I think it's related to this issue with relative paths.