Skip to content

Conversation

@archcorsair
Copy link
Contributor

Addresses #21

  • If the user agent is not a curl request we respond with some formatted HTML
  • Added --inspect flag to nodemon to allow using chrome dev tools debugging

@archcorsair
Copy link
Contributor Author

This is difficult for me to test locally since the color codes are not stripped.

@sagarkarira
Copy link
Owner

Thanks, I will review and merge when I get time.
I used strip-ansi module

@sagarkarira
Copy link
Owner

@archcorsair I added the HTML template in countries API too. Also added black background and green color.

The table top line is extending far down the page. I was not able to figure out why it's happening. I can take a look at that later. For now, I merging this.

Thanks for your PR.
😃

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

Successfully merging this pull request may close these issues.

Render HTML when user-agent is not curl.

2 participants