summaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-17 01:37:08 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-17 01:37:08 -0400
commit8166a9a21bf005a713ca53cff8261711524772b6 (patch)
tree5a4cdd4420151ff256280085d13f69c3994541ed /Assistant
parent36ee856492618879a96696084312acb4cc48df30 (diff)
refactor static route definition -- android webapp build fix
Incidentially should work around the last problem that prevented the webapp building on Android. (Except for a few places I need to clean up after hand-fixing the spliced TH code.)
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Threads/WebApp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/WebApp.hs b/Assistant/Threads/WebApp.hs
index 6fadd7be7..ad8bde9b7 100644
--- a/Assistant/Threads/WebApp.hs
+++ b/Assistant/Threads/WebApp.hs
@@ -58,7 +58,7 @@ webAppThread assistantdata urlrenderer noannex listenhost postfirstrun onstartup
<$> pure assistantdata
<*> (pack <$> genRandomToken)
<*> getreldir
- <*> pure $(embed "static")
+ <*> pure staticRoutes
<*> pure postfirstrun
<*> pure noannex
<*> pure listenhost