From adb2ac3bdc03ee9bfefbf2dfe64ab22c026c2c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Buben=C3=ADk?= Date: Mon, 15 Apr 2024 19:06:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20Add=20.env.example=20fi?= =?UTF-8?q?le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 3 +++ tests/support/utils.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..5742a28 --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +# ENV variables for examples +LOCALAZY_API_URL=https://api.localazy.com +LOCALAZY_API_AUTH_TOKEN=your-project-token diff --git a/tests/support/utils.ts b/tests/support/utils.ts index 7f8b119..69a70e7 100644 --- a/tests/support/utils.ts +++ b/tests/support/utils.ts @@ -18,6 +18,6 @@ export const textToUint8Array = (text: string): Uint8Array => Buffer.from(text, export const getApiClient = (): ApiClient => new ApiClient({ - apiUrl: 'http://localhost:3000', - authToken: '17407780176791600210a5f64753637a263fd6e9cfa84f81a08748ede1c83de0b5320f4cc1761d55b4ae', + apiUrl: 'https://api.localazy.com', + authToken: 'project-token', });