Closed tvararu closed 10 years ago
Thanks @tvararu, I'm going to push this very soon. Sorry it took so long.
Any clue about this? It will be pushed soon or I have to integrate on my own fork if I need this in the next couple of weeks? :D
Do you know when this will be pushed?
Thanks for the PR @tvararu !
No problem! :100:
Hope I'm not stepping on anyone's toes; I decided to use
mean-seo
for one of my own projects and I had some fairly specific needs that weren't satisfied by the basic package. Firstly, I needed HTML5 pushstate support, as detailed in #6, and then I also needed theredis
client to supportrediscloud
(for Heroku).For the former, I refactored logic in
lib/mean-seo.js
to support both style of URLs and save them properly to the key-value store.For the latter, there is now a
redisURL
option (courtesy of @dapetcu21) that coerces theredis
client into using your specified URL.I also added a few basic tests, and a
travis-ci
config file. (here's a successful build)This shouldn't break the existing API in any way, but should add functionality. Let me know if there is anything that you don't think is proper and I can fix it and submit another PR.
This closes #6 and #5.