0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 02:27:49 +01:00

minor typo fixes in readme (#286)

This commit is contained in:
Nelson Chen 2022-05-30 15:51:23 -07:00 committed by GitHub
parent e237927934
commit 81d77ba4c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ import { basicAuth } from 'hono/basic-auth'
const v1 = new Hono()
v1.get('/posts', (c) => {
return c.text('list pots')
return c.text('list posts')
})
.post(basicAuth({ username, password }), (c) => {
return c.text('created!', 201)
@ -644,7 +644,7 @@ npx wrangler publish ./src/index.ts
You can start making your Cloudflare Workers application with [the starter template](https://github.com/honojs/hono-minimal). It is really minimal using TypeScript, esbuild, Miniflare, and Jest.
To generate a project skelton, run this command.
To generate a project skeleton, run this command.
```
npx create-cloudflare my-app https://github.com/honojs/hono-minimal