hy/eg/flask/app.hy
Paul Tagliamonte 5a710f9be6 doh
2013-01-02 22:06:22 -05:00

14 lines
257 B
Hy

; Copyright (c) Paul R. Tagliamonte <tag@pault.ag>, 2013 under the terms of
; hy.
(import-from flask
Flask render-template)
(def app (Flask "__main__"))
(decorate-with (.route app "/")
(defn index []
(render-template "index.html")))