Move hard-coded API settings to .env file
This commit is contained in:
@@ -14,8 +14,8 @@ const client = new Client();
|
||||
|
||||
// Private self-hosted appwrite
|
||||
client
|
||||
.setEndpoint('https://apidev.bab.toal.ca/v1')
|
||||
.setProject('655a7116479b4d5a815f');
|
||||
.setEndpoint(process.env.APPWRITE_API_ENDPOINT)
|
||||
.setProject(process.env.APPWRITE_API_PROJECT);
|
||||
//TODO
|
||||
const appDatabaseId = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user