DEV Community

Gaetano D'Orsi
Gaetano D'Orsi

Posted on

[GitHub] A basic REST API example with Deno and Oak

Discussion (2)

mikenikles profile image
Mike Nikles • Edited on

If you use --allow-net, the server gets full access to all URLs. The following is a lot more secure:

deno run --allow-net=:5000 server.ts

Also see

I opened a PR on your repo to update the documentation accordingly.

tudor44 profile image
Gaetano D'Orsi Author

Good I have updated the repository thanks for suggestion!