Skip to content

Commit

Permalink
feat: Get-WebSocket Parameter Sets ( Fixes #73, Fixes #74 )
Browse files Browse the repository at this point in the history
RootURL is no longer positionally bound
  • Loading branch information
James Brundage committed Jan 25, 2025
1 parent 17f1625 commit d3033f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Commands/Get-WebSocket.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function Get-WebSocket {

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

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

0 comments on commit d3033f5

Please sign in to comment.