mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-05 12:57:33 +03:00
Use Cli DataSource resolution for Api requests. This resolves an issue with MissingHttpResponse when resolving distilled DataSources in the dev server.
This commit is contained in:
parent
22a3d88f63
commit
0dd2f8ecb6
@ -811,7 +811,7 @@ nextStepToEffect contentCache config model ( updatedStaticResponsesModel, nextSt
|
||||
thing =
|
||||
apiHandler.matchesToResponse path
|
||||
in
|
||||
StaticHttpRequest.resolve ApplicationType.Browser
|
||||
StaticHttpRequest.resolve ApplicationType.Cli
|
||||
thing
|
||||
model.allRawResponses
|
||||
|> Result.mapError (StaticHttpRequest.toBuildError "TODO - path from request")
|
||||
|
Loading…
Reference in New Issue
Block a user