Comments (5)
I am using Traefik as a reverse proxy to route subfolder /vizanti to port 5000 but found some errors due to some URLs is not relative URLs. I'll try to fix this and create a PR.
from vizanti.
Hmm well if by host_ip you mean without the :port part that's a bit of a problem. ROS really doesn't want anything to do with root and linux won't let anything but root host on port 80, so it's a bit of a standoff. One option that I've used in the past is to set up a root hosted redirect server like nginx on port 80 separately, that then routes to 5000. Or running server.py
with sudo python3
.
The server expects some specific paths which would need to be adjusted on both ends to support the extra /vizanti, but in theory it would be doable.
from vizanti.
To add a base URL, I've tried blueprints but can not get it to work.
I've also tried to hardcode the base URL: noetic-devel...tony2guo:vizanti:base-url
It works, but there should be some better ways. I'm not familiar with Flask, so I'm not sure how this should be done.
from vizanti.
The current setup uses jinja templating, which seems to have some kind of url_for function that would be added to returned templates. Not sure if it's the correct URL though.
from vizanti.
Thanks for the info. I'll try url_for().
from vizanti.
Related Issues (20)
- Install files in CMakeLists.txt HOT 2
- Possible bug in get_public_dir HOT 2
- No /tf data stops rendering of all widgets
- Working behind proxy HOT 4
- Adjustable port numbers
- Inverted map rotation? HOT 6
- TF buffer timeout
- Changing the Default Layout HOT 10
- Costmap rendering HOT 9
- Map not rendered HOT 5
- Additional map rendering modes
- Parameter loading issue HOT 2
- vizanti over virtual network HOT 6
- Does Vizanti have a mobile APK? HOT 6
- Navsat tile display inaccuracy
- vizanti via HTTPS HOT 1
- Custom Buttons HOT 3
- Not following Plan HOT 10
- Add Bottom Tabs for Different Views in the App HOT 5
- Tilt the map HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vizanti.