skorokithakis / netproxy

A Netflix/Hulu/Pandora/etc proxy in a box.
MIT License
233 stars 31 forks source link

Make json config format valid json pre-parsing #2

Closed drubin closed 10 years ago

drubin commented 10 years ago

I checked out netproxy and thought it was awesome, the pre-parsing json step felt a bit odd so I thought up an idea to still keep your useful comments but still make it valid json.

Please reject it if you prefer the // style comments. :)

skorokithakis commented 10 years ago

Thanks for the PR! Unfortunately it's not a matter of preference, it needs to be compatible with the tunlr config.json file, since we want to be able to integrate their changing proxies and settings :/ Mine was pretty much hardcoded from theirs, I will probably just remove it in later versions and have a script download it from there (and set the IP directly, as well as build the Docker image).