Skip to content

Commit

Permalink
Remove port 8000 9000 restriction (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp authored Apr 9, 2024
1 parent e6997ed commit 89aa607
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/server.jl
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ current directory. (See also [`example`](@ref) for an example folder).
- `filewatcher`: a file watcher implementing the API described for
[`SimpleWatcher`](@ref) (which also is the default) messaging the viewers
(via WebSockets) upon detecting file changes.
- `port`: integer between 8000 (default) and 9000.
- `port`: integer
- `dir`: string specifying where to launch the server if not the current
working directory.
- `debug`: bolean switch to make the server print debug messages.
Expand Down Expand Up @@ -614,9 +614,6 @@ current directory. (See also [`example`](@ref) for an example folder).
allow_cors::Bool = false
)::Nothing

8000 port 9000 || throw(
ArgumentError("The port must be between 8000 and 9000.")
)
set_verbose(verbose)
set_debug(debug)

Expand Down

0 comments on commit 89aa607

Please sign in to comment.