multiple environments.

This commit is contained in:
Bryce Covert
2018-04-08 22:12:27 -07:00
parent 9dabb633a7
commit 2f400fc3c9
9 changed files with 33 additions and 25 deletions

View File

@@ -22,7 +22,7 @@
[auto-ap.routes.auth :as auth]
[amazonica.core :refer [defcredential]]))
(defcredential "AKIAINHACMVQJ6NYD26A" "FwdL4TbIC/5H/4mwhQy4iSI/eSewyPgfS1EEt6tL" "us-east-1")
(defcredential (:aws-access-key-id env) (:aws-secret-access-key env) (:aws-region env))
(defroutes static-routes
(GET "/" [] (response/resource-response "index.html" {:root "public"}))