Skip to content

Commit b791137

Browse files
author
James Brundage
committed
feat: Start-Htmx ( Fixes #7 )
Updating container check pattern
1 parent 083cb73 commit b791137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Commands/Start-Htmx.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function Start-Htmx {
354354
# and an environment variable indicates we are in a container, we will use port 80.
355355
if ($PSVersionTable.Platform -eq 'Unix' -and (
356356
Get-ChildItem env: |
357-
Where-Object Name -Match 'In\P{p}{0,}Container'
357+
Where-Object Name -Match 'In\p{P}{0,}Container'
358358
)) {
359359
if (-not $port) { $port = 80 }
360360
"http://*:$port/"

0 commit comments

Comments
 (0)