Skip to content

Commit

Permalink
reorder public url config
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrol3001 committed Nov 14, 2023
1 parent 74de4b7 commit fa98d71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions n8n/rootfs/etc/s6-overlay/s6-rc.d/init-n8n/run
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ if ! bashio::fs.directory_exists '/config/n8n/data'; then
mkdir -p /config/n8n/data || bashio::exit.nok "Failed to create n8n configuration directory"
fi

if bashio::config 'ssl'; then
protocol="https";
else
if ! bashio::config 'ssl'; then
protocol="http";
else
protocol="https";
fi

bashio::var.json \
Expand Down

0 comments on commit fa98d71

Please sign in to comment.