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" name: "3DPrinter-OctoPrint"
version: "2022.10.0" version: "2022.10.01"
slug: "3dprinter-octoprint" slug: "3dprinter-octoprint"
description: "OctoPrint as an addon, no additional bells and whistles." description: "OctoPrint as an addon, no additional bells and whistles."
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint" url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"

View File

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

View File

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