Move hard-coded API settings to .env file

This commit is contained in:
2023-12-03 08:51:01 -05:00
parent 831e81e892
commit 573e327a0f
2 changed files with 3 additions and 2 deletions

View File

@@ -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 = '';