Compare commits

..

No commits in common. "3287e3721c5d5b803334fc8ed78f612ebac03a81" and "519b43e9f839ce602f4651c94a54d1ccfff515ef" have entirely different histories.

2 changed files with 16 additions and 2 deletions

View file

@ -1 +1,15 @@
# Progress tracker api v2
# Elysia with Bun runtime
## Getting Started
To get started with this template, simply paste this command into your terminal:
```bash
bun create elysia ./elysia-example
```
## Development
To start the development server run:
```bash
bun run dev
```
Open http://localhost:3000/ with your browser to see the result.

View file

@ -138,7 +138,7 @@ async function getEntryFromReq(req: Request) {
}
function isAuthenticated(req: Request) {
const bearer = req.headers.get('bearer');
const bearer = req.headers.get('Bearer');
if (!bearer) return false;
return bearer === env.BEARER_TOKEN;