timwaters / whoots

WhooTS is a WMS to Google/OSM Tiles proxy
http://whoots.mapwarper.net
19 stars 5 forks source link

WhooTS greets the world instead of proxying Ohio.gov WMS servers #4

Closed 1ec5 closed 5 years ago

1ec5 commented 5 years ago

The following URL returns “Hello world!”

http://whoots.mapwarper.net/tms/8/68/97/0/http://geo.oit.ohio.gov/arcgis/services/OSIP/osip_best_avail_1ft/ImageServer/WMSServer

Apparently this is because of a faulty regular expression that snags the “hi” in “ohio”:

https://github.com/timwaters/whoots/blob/2f658105e784b1293c088b5a4500215f0a1d41a6/whoots_app.rb#L10-L11

timwaters commented 5 years ago

thanks! That /hi/ could really be removed. I'll accept the PR

1ec5 commented 5 years ago

:tada: @timwaters, whenever you get a chance, would you mind updating the whoots.mapwarper.net server with the fix? Thank you!

timwaters commented 5 years ago

hi @1ec5 I've deployed it, could you try this now?

1ec5 commented 5 years ago

It works great, thanks again!