Skip to content

Commit

Permalink
Don't set channel
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Nov 16, 2023
1 parent 18ff970 commit 45d8694
Show file tree
Hide file tree
Showing 2 changed files with 4 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.19"
version = "0.16.20"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
5 changes: 3 additions & 2 deletions app/resources/applications/ApplicationsController.jl
Original file line number Diff line number Diff line change
Expand Up @@ -421,15 +421,16 @@ function start(app::Application)
using GenieFramework.Genie;
Core.eval(Main, :(const UserApp = $(@__MODULE__)));
Genie.genie(context = @__MODULE__);
up(; async = true, open_browser = true, query = Dict("CHANNEL__" => ENV["CHANNEL__"]));
up(; async = true, open_browser = true);
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,
# "CHANNEL__" => app.channel,
"GENIE_ENV" => "dev",
"GENIE_BANNER" => "false",
"GENIE_PUSH_ERRORS" => "false",)
Expand Down

0 comments on commit 45d8694

Please sign in to comment.