Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 438 Bytes

File metadata and controls

8 lines (6 loc) · 438 Bytes

Lesson 2: Serve Local Files

This lesson shows that you don't even need a server or service running on a particular port. You can create ingress to a directory of files. By using file://$(pwd) as an argument when running ngrok you create a tunnel to the current directory.

ngrok http --domain=$DOMAIN file://$(pwd)

After running this command navigate to the https://<insert_domain_here>/hello.html to see the results.