-
-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add route for sw update client python tool #77
feat: add route for sw update client python tool #77
Conversation
Contributing to SWUpdateContributions are welcome ! Please follow the following guideline for Contribution ChecklistThese are mostly general recommendations and are common practice in a
Patches are tracked by patchwork (see Developer's Certificate of Origin 1.1When signing-off a patch for this project like this
using your real name (no pseudonyms or anonymous contributions), you
|
if the update server is behind a reverse proxy a route is needed. The route should be optional and also work with websever without an additional route. Usage: ```shell python ./main.py ./swu.swu 192.168.0.100 80 /update ``` Signed-off-by: Jan Feemers <[email protected]>
ran the cmd: `black swupdateclient` Signed-off-by: Jan Feemers <[email protected]>
ed6a534
to
19d378d
Compare
@janfeemers does this already not work ?
|
@embetrix because this does not work. you have the url_upload variable: url_upload = "http://{}:{}/upload"
self.url_status.format(self._host_name, self._port)
# results in: http://{self._host_name}:{self._port}/upload -> http://example.com/update:80/upload What we would need is: --http://example.com/update:80/upload
++http://example.com:80/update/upload |
if the update server is behind a reverse proxy a route is needed. The route should be optional and also work with web-sever without an additional route.
Usage: