fixed urls for deploying
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user