mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-08 07:29:08 +03:00
Update src/Pages/Secrets.elm
This commit is contained in:
parent
0cc7e2a077
commit
4aa8d43315
@ -20,7 +20,7 @@ And your StaticHttp request in your Elm code looks like this:
|
||||
|
||||
StaticHttp.request
|
||||
(Secrets.succeed
|
||||
(\apiKey bearer ->
|
||||
(\apiKey githubToken ->
|
||||
{ url = "https://api.github.com/repos/dillonkearns/elm-pages?apiKey=" ++ apiKey
|
||||
, method = "GET"
|
||||
, headers = [ ( "Authorization", "Bearer " ++ githubToken ) ]
|
||||
|
Loading…
Reference in New Issue
Block a user