aqua icon indicating copy to clipboard operation
aqua copied to clipboard

[Added Feature] Optional defualt index page for the "serve" method

Open felixfong227 opened this issue 3 years ago • 0 comments

Allowing users to define a default index page such as index.html when creating a new static route

Example:

app.serve("public", "/", {
  index: "index.html",
});
GET /

OK 200
<index.html>

felixfong227 avatar Jul 05 '22 09:07 felixfong227