Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #53 from ably-labs/sample-app-env-location
Browse files Browse the repository at this point in the history
docs: fix incorrect sample-app .env location
  • Loading branch information
stmoreau authored Aug 8, 2023
2 parents 1b2627a + b5ad33b commit adbd2b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can run the dev server from the terminal using:
npm run start
```

You'll need to provide an API key for the sample to work (or you'll just get a white page and some errors in the console). To do this, create the file `./src/.env` and add the following line:
You'll need to provide an API key for the sample to work (or you'll just get a white page and some errors in the console). To do this, create the file `./sample-app/.env` and add the following line:

```.env
VITE_ABLY_API_KEY=<your-api-key>
Expand Down
1 change: 1 addition & 0 deletions sample-app/src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference types="vite/client" />
/// <reference types="vitest/importMeta" />

0 comments on commit adbd2b9

Please sign in to comment.