File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,10 @@ for var in \
6363 NPP_USER \
6464 NPP_UID \
6565 NPP_GID \
66- NPP_DEV_ENABLED \
66+ NPP_EDGE \
6767 NPP_HTTP_HOST \
6868 NPP_HACK_HOST \
69+ NPP_WEB_ROOT \
6970 NPP_DEV_PLUGIN_NAME \
7071 NPP_DEV_PLUGIN_DIR \
7172 NPP_DEV_TMP_CLONE_DIR \
@@ -74,7 +75,6 @@ for var in \
7475 WORDPRESS_DB_USER \
7576 WORDPRESS_DB_PASSWORD \
7677 WORDPRESS_DB_NAME \
77- NPP_WEB_ROOT \
7878 WORDPRESS_SITE_URL \
7979 WORDPRESS_SITE_TITLE \
8080 WORDPRESS_ADMIN_USER \
@@ -143,7 +143,7 @@ resolve_host() {
143143# - To work around this, we update the wordpress containers "/etc/hosts" file to remap "localhost" to either
144144# "host.docker.internal" or the actual "Nginx container IP". This forces to retrieve resources
145145# from the correct endpoint, enabling the Nginx Cache Preload action during development.
146- # - Keep in mind! Below settings will not work here because of priority issue in /etc/hosts
146+ # - Keep in mind! Below settings will not work in dev environment because of the priority issue in /etc/hosts
147147# extra_hosts:
148148# - "localhost:Nginx_LAN_IP"
149149#
297297fi
298298
299299# Check development deploy wanted
300- if [[ " ${NPP_DEV_ENABLED } " -eq 1 ]]; then
300+ if [[ " ${NPP_EDGE } " -eq 1 ]]; then
301301 # Set variables
302302 PLUGIN_NAME=" ${NPP_DEV_PLUGIN_NAME} "
303303 PLUGIN_DIR=" ${NPP_DEV_PLUGIN_DIR} "
You can’t perform that action at this time.
0 commit comments