Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 911 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 911 Bytes

Image of SquidUI

Icon made by Freepik

Prerequisites

  • bower
  • Enable and set API settings (in OctoPrint interface)
  • U need to edit /etc/haproxy/haproxy.cfg on octoprint installation with the following lines

Lines

frontend octoprint
    ...
    # CORS Config Capture
    capture request header origin len 50
    ...

backend octoprint
    ...
    # Add CORS headers when Origin header is present
    http-response set-header Access-Control-Allow-Credentials true
    http-response set-header Access-Control-Allow-Origin %[capture.req.hdr(0)]
    ...
  • Save file and reboot OctoPrint

How to install

  • Clone the repository
  • Go to the directory of the project
  • Dupplicate "env.example.js" with "env.js" and set octoprint settings
  • npm install
  • Access the file with your browser