fixed urls for deploying

This commit is contained in:
Elias Schneider
2022-04-25 17:11:41 +02:00
parent 6ef118fa14
commit a901d4e35a
3 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ import { Appwrite } from "appwrite";
// SDK for client side (browser)
const aw = new Appwrite();
aw.setEndpoint("http://localhost:86/v1")
aw.setEndpoint(process.env["APPWRITE_HOST"] as string)
.setProject("pingvin-share");
export default aw;