Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelMunoz committed Sep 6, 2022
1 parent f893fee commit 9a6e8a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Perla.Lib/Server.fs
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,11 @@ document.head.appendChild(style)"""
logger.LogWarning(
"An env file was requested but no env variables were found"
)

let message =
"""If you want to use env variables, remember to prefix them with 'PERLA_' e.g.
'PERLA_myApiKey' or 'PERLA_CLIENT_SECRET', then you will be able to import them via the env file"""

return Results.NotFound({| message = message |})
}

Expand Down

0 comments on commit 9a6e8a6

Please sign in to comment.