sintaxi/harp

i hope this feature

gintering1000 opened this issue · 0 comments

may i ask you this feature~

01. i am asking data ( json ) file serving optionally

example > npx harp -h 192.168.0.1 -p 8000 [ -d test.json or ./data/ ] ./

02. id like to use this cli with original file type like php.

normally php use php extention on url ( ex > https://localhost/index.php )
how about user can choose url type with [ harp.json : conf file ]
cuz i cant find cgi server for ejs template engine ( only user can use ejs with express engine )

file : harp.json

{
  "type": {
    "ejs" : "[ejs or html]",
  }
}