Skip to content

Commit

Permalink
Fix embedFile for ob-run
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jul 21, 2018
1 parent 9045f00 commit eb74586
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/src/Backend.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ import Common.Route

import Backend.Markdown (markdownView)

-- FIXME: This path doesn't work with full ghc compile.
-- Needs to drop the "backend/"
landingMd :: ByteString
landingMd = $(embedFile "static/markdown/landing.md")
landingMd = $(embedFile "backend/src/page/landing.md")

backend :: Backend BackendRoute Route
backend = Backend
Expand Down
File renamed without changes.

0 comments on commit eb74586

Please sign in to comment.