Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Static server example

Simple example with using tinyhttp and sirv

Install

tinyhttp new static

Run

Start a server:

node index.js

then try to request the file with curl:

curl files/hello.txt
# Hello World