Skip to content

Commit 47c9006

Browse files
remove last hardcoded WEBPACK_PORT
1 parent 7ef6363 commit 47c9006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base-theme/layouts/partials/webpack_url.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- $port := 3001 -}}
1+
{{- $port := getenv "WEBPACK_PORT" -}}
22
{{- if or site.IsServer (not (eq site.BaseURL "")) -}}
33
{{- if or site.IsServer (in site.BaseURL ":3000") -}}
44
{{- if hasPrefix .url "/" -}}

0 commit comments

Comments
 (0)