Skip to content

Commit

Permalink
Remove host param for deved app
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Nov 16, 2023
1 parent cdd6c88 commit 18ff970
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GenieBuilder"
uuid = "c9453c14-af8a-11ec-351d-c7c9a2035d70"
authors = ["Adrian Salceanu"]
version = "0.16.18"
version = "0.16.19"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
6 changes: 4 additions & 2 deletions app/resources/applications/ApplicationsController.jl
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,12 @@ function start(app::Application)
using GenieFramework.Genie;
Core.eval(Main, :(const UserApp = $(@__MODULE__)));
Genie.genie(context = @__MODULE__);
up(; async = false, open_browser = false, query = Dict("CHANNEL__" => ENV["CHANNEL__"]));
up(; async = true, open_browser = true, query = Dict("CHANNEL__" => ENV["CHANNEL__"]));
while true
sleep(1)
end
'`; dir = fullpath(app), detach = false)
cmd = addenv(cmd, "PORT" => app.port,
"HOST" => "0.0.0.0",
"WSPORT" => app.port,
"WSEXPPORT" => app.port,
"CHANNEL__" => app.channel,
Expand Down

0 comments on commit 18ff970

Please sign in to comment.