renamed env variable

This commit is contained in:
Elias Schneider
2022-04-25 17:16:17 +02:00
parent 1343bedfef
commit d6718cc545
6 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ import sdk from "node-appwrite";
const client = new sdk.Client();
client
.setEndpoint(process.env["APPWRITE_HOST"] as string)
.setEndpoint(process.env["NEXT_PUBLIC_APPWRITE_HOST"] as string)
.setProject("pingvin-share")
.setKey(process.env["APPWRITE_FUNCTION_API_KEY"] as string);