Skip to content

Commit

Permalink
change env to OS
Browse files Browse the repository at this point in the history
  • Loading branch information
skript023 committed Apr 23, 2024
1 parent 1c6f6e6 commit 4ecc035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#define UPLOAD_PATH drogon::app().getUploadPath()
#define DATABASE_CLIENT drogon::app().getDbClient()

#define SECRET "QmFoYXNhQXN1MTIz"
#define SECRET std::getenv("SECRET")
#define SERVER_KEY std::getenv("SERVER_KEY")

#ifdef BASIC_MIDDLEWARE_DISABLE
Expand Down

0 comments on commit 4ecc035

Please sign in to comment.