hitting heroku
This commit is contained in:
@@ -42,9 +42,6 @@
|
|||||||
[(keyword (str (name cls) ".markdown")) opts
|
[(keyword (str (name cls) ".markdown")) opts
|
||||||
[:textarea input]]))
|
[:textarea input]]))
|
||||||
|
|
||||||
(when-not (storage/valid-publisher? "NoteHub")
|
|
||||||
(storage/register-publisher "NoteHub"))
|
|
||||||
|
|
||||||
(defn sanitize
|
(defn sanitize
|
||||||
"Breakes all usages of <script> & <iframe>"
|
"Breakes all usages of <script> & <iframe>"
|
||||||
[input]
|
[input]
|
||||||
|
|||||||
@@ -36,6 +36,9 @@
|
|||||||
(redis :hset :publisher-key pid psk)
|
(redis :hset :publisher-key pid psk)
|
||||||
psk)))
|
psk)))
|
||||||
|
|
||||||
|
#_ (when-not (valid-publisher? "NoteHub")
|
||||||
|
(register-publisher "NoteHub"))
|
||||||
|
|
||||||
(defn revoke-publisher [pid]
|
(defn revoke-publisher [pid]
|
||||||
(redis :hdel :publisher-key pid))
|
(redis :hdel :publisher-key pid))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user