Skip to content

Commit 93602f3

Browse files
committed
Added test .env
1 parent 2190697 commit 93602f3

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

examples/next-app-router/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MEDIALIT_API_KEY=test

examples/next-app-router/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ yarn-error.log*
3131
.pnpm-debug.log*
3232

3333
# env files (can opt-in for committing if needed)
34-
.env*
34+
!.env
35+
.env.*
3536

3637
# vercel
3738
.vercel

examples/next-app-router/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ This is a [Next.js](https://nextjs.org) project which demonstrates the usage of
22

33
## Getting Started
44

5-
First, create a `.env.local` file in the root directory with the following environment variables:
5+
First, add the MediaLit API key to `.env` file in the root directory:
66

77
```env
8-
MEDIALIT_ENDPOINT=https://api.medialit.clqa.site
98
MEDIALIT_API_KEY=your_api_key_here
109
```
1110

@@ -25,8 +24,6 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the
2524

2625
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
2726

28-
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
29-
3027
## Learn More
3128

3229
To learn more about Next.js, take a look at the following resources:

0 commit comments

Comments
 (0)