Skip to content

Commit

Permalink
code rabbit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub authored Aug 28, 2024
1 parent 0741a00 commit cf60448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions caddy/caddy.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

if [ "$APP_DOMAIN" == "localhost" ]; then
if [ "$APP_DOMAIN" = "localhost" ]; then
export SITE_ADDRESS=":${LISTEN_HTTP_PORT}"
elif [ "$SSL" == "true" ]; then
elif [ "$SSL" = "true" ]; then
export SITE_ADDRESS="${APP_DOMAIN}:${LISTEN_HTTPS_PORT}"
else
export SITE_ADDRESS="http://${APP_DOMAIN}:${LISTEN_HTTP_PORT}"
Expand Down

0 comments on commit cf60448

Please sign in to comment.