mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-25 04:43:03 +03:00
Try reading relative to root of repo for netlify function.
This commit is contained in:
parent
e9926979d3
commit
8851ab402d
@ -58,7 +58,7 @@ data routeParams =
|
||||
username
|
||||
|> LoggedInInfo
|
||||
|> DataSource.succeed
|
||||
|> DataSource.andMap (DataSource.File.rawFile "content/secret-note.txt")
|
||||
|> DataSource.andMap (DataSource.File.rawFile "examples/pokedex/content/secret-note.txt")
|
||||
|> DataSource.map LoggedIn
|
||||
|> DataSource.map PageServerResponse.RenderPage
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user