diff options
Diffstat (limited to 'Hero/Pack.hs')
-rw-r--r-- | Hero/Pack.hs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Hero/Pack.hs b/Hero/Pack.hs new file mode 100644 index 0000000..d5c3a35 --- /dev/null +++ b/Hero/Pack.hs @@ -0,0 +1,16 @@ +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE NoImplicitPrelude #-} + +-- | A module to wrap the CDN and provide convient helper functions to assets. +module Hero.Pack where + +import Protolude + +cdnEdge :: Text +cdnEdge = "https://heroverse.sfo2.cdn.digitaloceanspaces.com" + +demo :: Text +demo = cdnEdge <> "/old-assets/demo/" + +icon :: Text +icon = cdnEdge <> "/icons/" |