Skip to content

Commit d3033f5

Browse files
author
James Brundage
committed
feat: Get-WebSocket Parameter Sets ( Fixes #73, Fixes #74 )
RootURL is no longer positionally bound
1 parent 17f1625 commit d3033f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Commands/Get-WebSocket.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ function Get-WebSocket {
123123

124124
# One or more root urls.
125125
# If these are provided, a WebSocket server will be created with these listener prefixes.
126-
[Parameter(Mandatory,Position=0,ValueFromPipelineByPropertyName,ParameterSetName='WebSocketServer')]
126+
[Parameter(Mandatory,ValueFromPipelineByPropertyName,ParameterSetName='WebSocketServer')]
127127
[Alias('HostHeader','Host','CNAME','ListenerPrefix','ListenerPrefixes','ListenerUrl')]
128128
[string[]]
129129
$RootUrl,
@@ -633,7 +633,7 @@ function Get-WebSocket {
633633
imports = $ImportMap
634634
} | ConvertTo-Json -Depth 3
635635
"</script>"
636-
) -join [Environment]::NewLine
636+
) -join [Environment]::NewLine
637637
}
638638

639639
# If a palette name was provided, we will include the 4bitcss stylesheet.

0 commit comments

Comments
 (0)