Remove external_port

This commit is contained in:
Fredrik Baberg 2022-11-03 01:38:08 +01:00
parent c9427d49e9
commit f89caa397e
3 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,5 @@
name: "3DPrinter-OctoPrint"
version: "2022.11.03"
version: "2022.11.04"
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')" \
mode "$(bashio::config 'mode')" \

View File

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