hitting heroku

This commit is contained in:
Christian Mueller
2014-03-24 23:55:36 +01:00
parent d056149fa2
commit ca24da9bc2
2 changed files with 3 additions and 3 deletions
-3
View File
@@ -42,9 +42,6 @@
[(keyword (str (name cls) ".markdown")) opts
[:textarea input]]))
(when-not (storage/valid-publisher? "NoteHub")
(storage/register-publisher "NoteHub"))
(defn sanitize
"Breakes all usages of <script> & <iframe>"
[input]
+3
View File
@@ -36,6 +36,9 @@
(redis :hset :publisher-key pid psk)
psk)))
#_ (when-not (valid-publisher? "NoteHub")
(register-publisher "NoteHub"))
(defn revoke-publisher [pid]
(redis :hdel :publisher-key pid))