Update for PureScript 0.15 (#194)
* Update shell and packages * Fix code for 0.15 * Fix tests * Format * Add check-pulp command * Generate bowerfile * Add check-pulp to CI * Add nixfmt to formatting * Fixup test helpers * Take 2 * PR comments (#1) * Nix cleanup from PR * Use arrows functions * Remove unnecessary step Co-authored-by: Connor Prussin <connor@prussin.net>
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
module Examples.BinaryResponse.Main where
|
||||
|
||||
import Prelude
|
||||
|
||||
import Effect.Console (log)
|
||||
import HTTPure (Headers, Request, ResponseM, ServerM, header, ok', serve)
|
||||
import Node.FS.Aff (readFile)
|
||||
import HTTPure (ServerM, Request, ResponseM, Headers, serve, ok', header)
|
||||
|
||||
-- | The path to the file containing the response to send
|
||||
filePath :: String
|
||||
|
||||
Reference in New Issue
Block a user