Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove port between 8000 and 9000 restriction #177

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/server.jl
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,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 @@ -590,9 +590,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
Loading