Gaetano D'Orsi Posted on May 25, 2020 [GitHub] A basic REST API example with Deno and Oak #deno #typescript #javascript #oak https://github.com/Tudor44/deno-rest-api-example Top comments (2) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand Mike Mike Mike Follow Software Architect π·. Productivity β±οΈ & Team Morale π. Web, Javascript, Cloud Native βοΈ. Author π and Educator π§βπ«. Work Software Architect Joined Oct 14, 2019 • May 25 '20 • Edited on May 25 • Edited Dropdown menu Copy link Hide 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 deno.land/manual/getting_started/p.... I opened a PR on your repo to update the documentation accordingly. Collapse Expand Gaetano D'Orsi Gaetano D'Orsi Gaetano D'Orsi Follow Software Architect, Developer and Digital Evangelist Location Naples, Italy Joined Apr 29, 2020 • May 25 '20 Dropdown menu Copy link Hide Good I have updated the repository thanks for suggestion! Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
If you use
--allow-net
, the server gets full access to all URLs. The following is a lot more secure:Also see deno.land/manual/getting_started/p....
I opened a PR on your repo to update the documentation accordingly.
Good I have updated the repository thanks for suggestion!