Differentiate between local and remote URLs #1216
Replies: 3 comments
-
Hey thanks for the report. I don't consider this a bug, more a feature request. I'd prefer personally to open a contained window with it wrapped but that requires turning on iframe on OP and me creating some messy routes. I'm not entirely sure having a remote and local IP is the best way to go about this but happy to discuss and flesh it out further. It would certainly increase the setup steps but I suppose that's more for people who would actually use the feature. Just feel there's a better way, dunno why aha. Will ponder on it more. Currently I take the standpoint that OP instances shouldn't be behind a reverse proxy so I have avoided supporting that use case. I am trying to build OctoFarm to be that interface through to them, so it can sit on the edge of a network type deal. I'll convert this to a discussion where my feature requests live anyway so please do pass your thoughts. Do you code JavaScript at all? I'd be happy with a PR but it's not setup at all to detect this currently aha. |
Beta Was this translation helpful? Give feedback.
-
Well actually I would not open it inside octofarm in an iFrame or whatsover. Lots of people should not open up their OP instance to to be available publicly, that's what OP states itself since it cannot guarantee security. So only a minority will want to access the instance remotely with a proper setup (mostly security wise). I would not make it too complicated and not change the current setup flow since it's more a power feature to me. Let me know your thoughts! |
Beta Was this translation helpful? Give feedback.
-
Yeah no to the iframe route, I was more thinking along the lines of tunnelling. I think rather than messing with routes/tunnels/urls it would probably be more advantageous to figure out why your going to the interface and remove the need to if you get me? The current implementation covers everything I ever bothered to access OctoPrint for personally, so for me it's feature complete. I know a couple of users have suggested that removing that need would be beneficial. The web interface button could just be hidden if it's not on a local url, and might be worth while doing regardless because then it's not readily clickable confusing users. |
Beta Was this translation helpful? Give feedback.
-
OctoFarm Version
1.6.6
OctoPrint Version(s)
1.8.3
pm2 or docker?
docker
Operating System
Mac OS
OctoPrint Plugins
No response
Location of the problem
Web Interface
Description of the problem
Steps taken to reproduce
See description :-)
What did you expect to happen
It would be nice to have the option to configure a 'secondary' URL that will be used (if defined) for launching your instance's OctoPrint web interface.
To avoid the problem I had to
No response
Beta Was this translation helpful? Give feedback.
All reactions