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 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 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!