Closed Futurama56 closed 9 years ago
I am using the headers.getClientIP() with my app and have enabled appcache. When I enable appcache, the console throws the following error:
TypeError: Package.headers is undefined ...1","referer":"http://localhost:3000/home/jobs","connection":"keep-alive","cache-...
When I disable appcache, the client IP is returned and the code works again.
Seems like you're the first person using headers and appcache together on Meteor 0.9+, or the first to notice this at least :) Thanks for bringing it to my attention; all fixed; check out v0.0.26.
I am using the headers.getClientIP() with my app and have enabled appcache. When I enable appcache, the console throws the following error:
TypeError: Package.headers is undefined ...1","referer":"http://localhost:3000/home/jobs","connection":"keep-alive","cache-...
When I disable appcache, the client IP is returned and the code works again.