Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i hope this feature #671

Open
gintering1000 opened this issue Mar 30, 2022 · 0 comments
Open

i hope this feature #671

gintering1000 opened this issue Mar 30, 2022 · 0 comments

Comments

@gintering1000
Copy link

gintering1000 commented Mar 30, 2022

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]",
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant