fixed expiration date

This commit is contained in:
Elias Schneider
2022-04-25 17:58:03 +02:00
parent d6718cc545
commit b26578a409
6 changed files with 11 additions and 8 deletions

View File

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