From 8166a9a21bf005a713ca53cff8261711524772b6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 17 Apr 2013 01:37:08 -0400 Subject: 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.) --- Assistant/Threads/WebApp.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant') 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 -- cgit v1.2.3