Skip to content

Commit

Permalink
IP CORS whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Bogle committed Aug 13, 2019
1 parent 73acb42 commit 16cc195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/server.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function main()
println("Listening on localhost:8080....")
HTTP.@register(ROUTER, "POST", "/api/teavar", teavar)
# HTTP.serve(JSONHandler, Sockets.localhost, 8080)
HTTP.serve(JSONHandler, Sockets.localhost, 8080)
HTTP.serve(JSONHandler, "128.30.92.156", 8080)
end

main()

0 comments on commit 16cc195

Please sign in to comment.