Skip to content

Commit

Permalink
Default to "true"
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Sep 25, 2023
1 parent e894796 commit 4a36f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function execute(config::Genie.Configuration.Settings; server::Union{Sockets.TCP

if (called_command(parsed_args, "s") && lowercase(get(parsed_args, "s", "false")) == "true") ||
(haskey(ENV, "STARTSERVER") && parse(Bool, ENV["STARTSERVER"])) ||
(haskey(ENV, "EARLYBIND") && lowercase(get(ENV, "STARTSERVER", "")) != "false")
(haskey(ENV, "EARLYBIND") && lowercase(get(ENV, "STARTSERVER", "true")) != "false")
Genie.config.run_as_server = true
Base.invokelatest(Genie.up, Genie.config.server_port, Genie.config.server_host; server = server)

Expand Down

2 comments on commit 4a36f78

@essenciary
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/92175

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v5.19.0 -m "<description of version>" 4a36f78731bc15bb452f1c94ee34e7e9be71950e
git push origin v5.19.0

Please sign in to comment.