Commit 4ff08294 authored by Martin Schoeler's avatar Martin Schoeler

restore js redirect

parent 44b6f01a
......@@ -7,7 +7,7 @@ paginate: 8
future: true
# bump if alterting styles
version: 132
version: 133
# read speed
wpm: 160
......
// redirect people to rocket.chat/docs if they try and browse the GitHub pages version
// if((location.hostname == "rocketchat.github.io" || location.hostname == "www.rocket.chat") && location.href.indexOf('?noredirect') == -1) {
// location="https://rocket.chat" + location.pathname
// }
if((location.hostname == "rocketchat.github.io" || location.hostname == "www.rocket.chat") && location.href.indexOf('?noredirect') == -1) {
location="https://rocket.chat" + location.pathname
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment