Skip to content

Commit

Permalink
Fix host to work on win, fix git line end for win
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Salceanu committed May 9, 2024
1 parent 1f1da6d commit ee54b95
Show file tree
Hide file tree
Showing 3 changed files with 6 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 = "Genie"
uuid = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
authors = ["Adrian Salceanu <[email protected]> and the amazing Genie contributors ♥️"]
version = "5.30.0"
version = "5.30.1"

[deps]
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
Expand Down
5 changes: 4 additions & 1 deletion files/new_app/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
app/assets/* linguist-vendored
public/* linguist-vendored
*.jl.html linguist-language=HTML
*.jl.html linguist-language=HTML
* text=auto
*.sh text eol=lf
*.conf text eol=lf
2 changes: 1 addition & 1 deletion files/new_app/config/env/prod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using Genie, Logging

Genie.Configuration.config!(
server_port = 8000,
server_host = "0.0.0.0",
server_host = (Sys.iswindows() ? "127.0.0.1" : "0.0.0.0"),
log_level = Logging.Error,
log_to_file = false,
server_handle_static_files = true, # for best performance set up Nginx or Apache web proxies and set this to false
Expand Down

0 comments on commit ee54b95

Please sign in to comment.