StackFocus / SwagIP

A simple way to get your public IP address and other connection related information from any device
MIT License
3 stars 1 forks source link

Changed / to produce IP and /all for JSON from the CLI #15

Closed mprahl closed 9 years ago

mprahl commented 9 years ago

The root of the website from wget, curl, and fetch now produce the source IP The route /all now produces JSON Producing the client's information was put in utils.py since it is being reused in the views function jQuery code was changed to conform to the new routes Changed the CLI tests to conform to the new routes

thatarchguy commented 9 years ago

I approve of your changes. Check my little additions and accept when you want.