Remove external_port argument

This commit is contained in:
Fredrik Baberg 2022-10-11 16:46:40 +02:00
parent 9f80b8afa5
commit f0ba54db2d
3 changed files with 6 additions and 9 deletions

View File

@ -1,5 +1,5 @@
name: "3DPrinter-OctoPrint"
version: "2022.10.0"
version: "2022.10.01"
slug: "3dprinter-octoprint"
description: "OctoPrint as an addon, no additional bells and whistles."
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"

View File

@ -8,7 +8,6 @@
bashio::var.json \
interface "$(bashio::addon.ip_address)" \
port "^$(bashio::addon.ingress_port)" \
external_port "^$(bashio::addon.port 5000)" \
ingress_entry "$(bashio::addon.ingress_entry)" \
camera_host "$(bashio::config 'camera_url')" \
| tempio \

View File

@ -26,11 +26,9 @@
}
}
{{ if .external_port }}
# OctoPrint WebUI
:5000 {
reverse_proxy http://127.0.0.1:5000 {
header_up X-Scheme {scheme}
}
# OctoPrint WebUI
:5000 {
reverse_proxy http://127.0.0.1:5000 {
header_up X-Scheme {scheme}
}
{{ end }}
}