Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(azure-functions): redirect console to azure context for logging #542

Closed
wants to merge 93 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
a1c7bbb
add a logging interceptor for azure context
mcremer-able Oct 4, 2022
e28b891
Don't intercept ,if we are already intercepting
mcremer-able Oct 13, 2022
660acd1
docs: fix readme grammar (#813)
alvarlagerlof Jan 9, 2023
a1b2db9
docs: fix deprecated function in routing example (#816)
pschnyder Jan 9, 2023
d1b0cfb
docs: add new render deployment example & steps (#811)
connectshark Jan 9, 2023
a3492b0
fix(build): do not override publicAssets (#817)
antfu Jan 9, 2023
3f8ca7a
feat(dev): support for `/_vfs.json` (#809)
antfu Jan 9, 2023
d256487
chore(deps): update devdependency @types/fs-extra to v11 (#814)
renovate[bot] Jan 9, 2023
45b3abd
chore(deps): update all non-major dependencies (#810)
renovate[bot] Jan 9, 2023
dcc59c7
fix(dev): improve vfs ui (#802)
antfu Jan 9, 2023
976d81d
chore(deps): update dependency mlly to ^1.1.0 (#820)
renovate[bot] Jan 10, 2023
4654e59
fix: resolve and include scanDirs within `node_modules` for auto impo…
yassilah Jan 10, 2023
15edef0
style: lint code
pi0 Jan 10, 2023
e12dae1
chore(deps): update all non-major dependencies (#824)
renovate[bot] Jan 11, 2023
5d5b62e
refactor: update `event.` to `event.node.` (#828)
cpreston321 Jan 11, 2023
bece791
fix(netlify, vercel): explicit server rendering with disabled cache/s…
danielroe Jan 11, 2023
84a65bc
docs: fix typo in code block (#830)
nexxeln Jan 11, 2023
ae708f0
chore(deps): update all non-major dependencies to ^0.27.1 (#831)
renovate[bot] Jan 11, 2023
8194ee4
chore(deps): update all non-major dependencies (#832)
renovate[bot] Jan 12, 2023
c1df65e
feat(netlify): use esm entrypoint (#833)
danielroe Jan 13, 2023
0211e60
chore: add lint fix command shortcut (#835)
danielroe Jan 13, 2023
6585e8d
fix(prerender): check link's pathname only for extensions (#791)
dargmuesli Jan 13, 2023
ed3a480
fix(rumtime): disable server-timing header via options.timing (#823)
clarkdo Jan 13, 2023
7517293
fix: avoid using file urls for normalized paths in options
pi0 Jan 13, 2023
2e43d30
ci: run tests against windows as well (#837)
danielroe Jan 13, 2023
bb9ac5b
chore: update lockfile
pi0 Jan 13, 2023
2ce4edb
fix: rollup treeshake is dump
pi0 Jan 13, 2023
0638f64
fix(externals): normalize `inline` and `external` windows paths
pi0 Jan 13, 2023
d23bc2d
chore(deps): update all non-major dependencies (#839)
renovate[bot] Jan 14, 2023
f812c81
chore(deps): update devdependency eslint to ^8.32.0 (#842)
renovate[bot] Jan 15, 2023
e7b250f
feat!: rewrite external copy with multi version hoisting support (#782)
pi0 Jan 16, 2023
5e484c3
fix(netlify, aws): omit cookies from v1 response (#834)
danielroe Jan 16, 2023
ca35421
fix: filter unique scanned handlers (#807)
yassilah Jan 16, 2023
b773ebe
docs: add cache base option example & description (#781)
LouisHaftmann Jan 16, 2023
b91db6f
feat: add `shouldInvalidateCache ` option to cache utils (#746)
yassilah Jan 16, 2023
d89fa5f
fix(nitro): resolve server asset dirs relative to `srcDir` (#825)
cpreston321 Jan 16, 2023
cf26c84
chore(deps): update all non-major dependencies (#847)
renovate[bot] Jan 17, 2023
bce44da
chore(deps): update all non-major dependencies (#848)
renovate[bot] Jan 17, 2023
686a560
fix(public-assets): mock readAsset promise properly (#851)
harlan-zw Jan 19, 2023
3d61ebf
feat: `edgio` preset (replacing `layer0`) (#858)
pi0 Jan 20, 2023
71576c0
feat: support `maxAge` for public assets (#860)
pi0 Jan 20, 2023
a52c832
test: update fixtures
pi0 Jan 20, 2023
456f82a
feat: support `staleMaxAge: -1` to always respond stale value (#857)
yassilah Jan 20, 2023
b77735e
fix(externals): avoid recursive package links
pi0 Jan 20, 2023
63e250d
chore(release): v2.0.0-rc.0
pi0 Jan 20, 2023
dc4e2f1
fix(prerender): update preview command to serve matching routes (#864)
danielroe Jan 23, 2023
02556e6
chore: lint with `eslint --cache` and improve types in `.eslintrc` (#…
o-az Jan 23, 2023
6b65508
fix(externals): support orphan files in `node_modules` (#865)
pi0 Jan 23, 2023
a5586f8
fix: avoid hiding original rollup error message
pi0 Jan 23, 2023
d0ab926
feat(externals): apply `production` condition to package.exports (#867)
pi0 Jan 23, 2023
724c709
feat: enable auto imports from `utils` dir (#866)
pi0 Jan 23, 2023
f5c387f
fix(cache): only update cache in storage once per pending request (#861)
yassilah Jan 23, 2023
c52d256
chore: update dependencies
pi0 Jan 23, 2023
246b726
chore: remove random import
pi0 Jan 23, 2023
5830bf3
chore(release): v2.0.0-rc.1
pi0 Jan 23, 2023
113d31e
fix: add node16 compatible type declaration (#868)
danielroe Jan 24, 2023
d73998e
fix(externals): improve multi version handling (#871)
pi0 Jan 24, 2023
5f142cc
chore(release): v2.0.0
pi0 Jan 24, 2023
f5a5a8e
feat: add `shouldBypassCache` option to cache utils (#874)
MiniDigger Jan 25, 2023
61f0c7b
docs(deployment): heroku with nginx (#873)
adetayoadeyemi Jan 25, 2023
872a301
docs(netlify): clarify placement of `_redirects` file (#870)
OlaAlsaker Jan 25, 2023
cd53d39
chore(deps): update dependency unimport to v2 (#869)
renovate[bot] Jan 25, 2023
4193603
docs(digitalocean): update deployment guide (#862)
christopher4lis Jan 25, 2023
2c52c62
feat(cache): allow async `getKey` option (#878)
MiniDigger Jan 25, 2023
153f286
fix(scan): do not dedup middleware handlers (#880)
danielroe Jan 25, 2023
6596c5f
fix(externals): use portable symlinks (#882)
pi0 Jan 25, 2023
963c587
chore: update dependencies
pi0 Jan 25, 2023
266e2ef
chore(release): v2.1.0
pi0 Jan 25, 2023
917c7e6
chore(deps): update pnpm to v7.26.0 (#884)
renovate[bot] Jan 26, 2023
53d37db
chore(deps): update all non-major dependencies (#890)
renovate[bot] Jan 30, 2023
762ee47
fix: resolve server assets dir relative to `srcDir` (#893)
danielroe Jan 30, 2023
930438a
fix(prerender): encode urls passed to local fetch (#891)
manh-gntvn Jan 30, 2023
b77f082
chore: update unenv
pi0 Jan 30, 2023
50e1a8f
chore: format code
pi0 Jan 30, 2023
af0409f
chore(release): v2.1.1
pi0 Jan 30, 2023
a12e1e7
fix(types): allow narrowing of the method option in `NitroFetchOption…
dsluijk Jan 31, 2023
40c21a2
chore(deps): update devdependency typescript to ^4.9.5 (#895)
renovate[bot] Feb 1, 2023
c784b87
fix(vercel-edge): add temporary workaround for ‍`process.cwd‍` usage …
harlan-zw Feb 1, 2023
f7eed65
fix(dev): don't overwrite proxy headers if already set (#896)
MikeBellika Feb 1, 2023
881a0ba
fix: provide fallback string values for undefined `runtimeConfig` (#907)
danielroe Feb 4, 2023
325e919
docs: fix heroku typo (#900)
clew-bot Feb 4, 2023
10a7ee7
docs: fix stormkit images path (#903)
ralacerda Feb 4, 2023
4d89e31
fix(vercel): allow non-glob cache rules to apply to `/` (#908)
danielroe Feb 4, 2023
dbb89a1
chore: update dependencies
pi0 Feb 4, 2023
78dd4f9
fix(externals): use stable dependency tree (#909)
pi0 Feb 5, 2023
a899f1d
docs: fix path for server assets (#917)
serkodev Feb 6, 2023
a459e1e
fix(dev): mount `src` and `root` as read-only by default (#920)
pi0 Feb 6, 2023
41884ba
chore(deps): update all non-major dependencies (#911)
renovate[bot] Feb 6, 2023
c45e4c9
spread params
mcremer-able Feb 6, 2023
e1e0114
add a logging interceptor for azure context
mcremer-able Oct 4, 2022
1068b4e
Don't intercept ,if we are already intercepting
mcremer-able Oct 13, 2022
f5c9b36
spread params
mcremer-able Feb 6, 2023
c277c76
Merge branch 'main' of https://github.com/mcremer-able/nitro
mcremer-able Feb 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .eslintrc β†’ .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{
"extends": ["eslint-config-unjs"],
"rules": {
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: ["eslint-config-unjs"],
rules: {
"space-before-function-paren": 0,
"arrow-parens": 0,
"comma-dangle": 0,
"semi": 0,
semi: 0,
"unicorn/prevent-abbreviations": 0,
"quotes": 0,
quotes: 0,
"keyword-spacing": 0,
"no-undef": 0,
indent: 0,
"unicorn/catch-error-name": 0,
"unicorn/no-null": 0,
"unicorn/no-useless-undefined": 0,
"unicorn/no-await-expression-member": 0,
"unicorn/no-array-push-push": 0,
"unicorn/filename-case": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-non-null-assertion": 0
}
}
"@typescript-eslint/no-non-null-assertion": 0,
},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.txt text eol=lf
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ on:
- main

jobs:
ci:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -23,6 +22,23 @@ jobs:
cache: pnpm
- run: pnpm install
- run: pnpm lint

ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: pnpm
- run: pnpm install
- run: pnpm test:types
- run: pnpm build
- run: pnpm vitest --coverage
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ Temporary Items
.netlify
.vercel
staticwebapp.config.json
.eslintcache
223 changes: 223 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,229 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## v2.1.1

[compare changes](https://github.com/unjs/nitro/compare/v2.1.0...v2.1.1)


### 🩹 Fixes

- Resolve server assets dir relative to `srcDir` ([#893](https://github.com/unjs/nitro/pull/893))
- **prerender:** Encode urls passed to local fetch ([#891](https://github.com/unjs/nitro/pull/891))

### 🏑 Chore

- Update unenv ([b77f082](https://github.com/unjs/nitro/commit/b77f082))
- Format code ([50e1a8f](https://github.com/unjs/nitro/commit/50e1a8f))

### ❀️ Contributors

- Pooya Parsa <[email protected]>
- Manh-gntvn
- Daniel Roe <[email protected]>

## v2.1.0

[compare changes](https://github.com/unjs/nitro/compare/v2.0.0...v2.1.0)


### πŸš€ Enhancements

- Add `shouldBypassCache` option to cache utils ([#874](https://github.com/unjs/nitro/pull/874))
- **cache:** Allow async `getKey` option ([#878](https://github.com/unjs/nitro/pull/878))

### 🩹 Fixes

- **scan:** Do not dedup middleware handlers ([#880](https://github.com/unjs/nitro/pull/880))
- **externals:** Use portable symlinks ([#882](https://github.com/unjs/nitro/pull/882))

### πŸ“– Documentation

- **deployment:** Heroku with nginx ([#873](https://github.com/unjs/nitro/pull/873))
- **netlify:** Clarify placement of `_redirects` file ([#870](https://github.com/unjs/nitro/pull/870))
- **digitalocean:** Update deployment guide ([#862](https://github.com/unjs/nitro/pull/862))

### 🏑 Chore

- Update dependencies ([963c587](https://github.com/unjs/nitro/commit/963c587))

### ❀️ Contributors

- Pooya Parsa <[email protected]>
- Daniel Roe <[email protected]>
- MiniDigger < Martin>
- Christopher Lis
- Ola Alsaker <[email protected]>
- Adeyemi Adetayo <[email protected]>

## v2.0.0

[compare changes](https://github.com/unjs/nitro/compare/v2.0.0-rc.1...v2.0.0)


### 🩹 Fixes

- Add node16 compatible type declaration ([#868](https://github.com/unjs/nitro/pull/868))
- **externals:** Improve multi version handling ([#871](https://github.com/unjs/nitro/pull/871))

### ❀️ Contributors

- Pooya Parsa <[email protected]>
- Daniel Roe <[email protected]>

## v2.0.0-rc.1

[compare changes](https://github.com/unjs/nitro/compare/v2.0.0-rc.0...v2.0.0-rc.1)


### πŸš€ Enhancements

- **externals:** Apply `production` condition to package.exports ([#867](https://github.com/unjs/nitro/pull/867))
- Enable auto imports from `utils` dir ([#866](https://github.com/unjs/nitro/pull/866))

### 🩹 Fixes

- **prerender:** Update preview command to serve matching routes ([#864](https://github.com/unjs/nitro/pull/864))
- **externals:** Support orphan files in `node_modules` ([#865](https://github.com/unjs/nitro/pull/865))
- Avoid hiding original rollup error message ([a5586f8](https://github.com/unjs/nitro/commit/a5586f8))
- **cache:** Only update cache in storage once per pending request ([#861](https://github.com/unjs/nitro/pull/861))

### 🏑 Chore

- Lint with `eslint --cache` and improve types in `.eslintrc` ([#863](https://github.com/unjs/nitro/pull/863))
- Update dependencies ([c52d256](https://github.com/unjs/nitro/commit/c52d256))
- Remove random import ([246b726](https://github.com/unjs/nitro/commit/246b726))

### ❀️ Contributors

- Pooya Parsa <[email protected]>
- Yasser Lahbibi <[email protected]>
- O-az <[email protected]>
- Daniel Roe <[email protected]>

## v2.0.0-rc.0

[compare changes](https://github.com/unjs/nitro/compare/v1.0.0...v2.0.0-rc.0)


### πŸš€ Enhancements

- ⚠️ Upgrade rollup to 3.x ([#580](https://github.com/unjs/nitro/pull/580))
- **types:** Correctly type $fetch based on the method ([#686](https://github.com/unjs/nitro/pull/686))
- **cli:** `prepare` command ([#774](https://github.com/unjs/nitro/pull/774))
- **cache:** Allow setting custom `getKey` for `defineCachedEventHandler` ([#744](https://github.com/unjs/nitro/pull/744))
- **dev:** Support for `/_vfs.json` ([#809](https://github.com/unjs/nitro/pull/809))
- **netlify:** Use esm entrypoint ([#833](https://github.com/unjs/nitro/pull/833))
- ⚠️ Rewrite external copy with multi version hoisting support ([#782](https://github.com/unjs/nitro/pull/782))
- Add `shouldInvalidateCache ` option to cache utils ([#746](https://github.com/unjs/nitro/pull/746))
- `edgio` preset (replacing `layer0`) ([#858](https://github.com/unjs/nitro/pull/858))
- Support `maxAge` for public assets ([#860](https://github.com/unjs/nitro/pull/860))
- Support `staleMaxAge: -1` to always respond stale value ([#857](https://github.com/unjs/nitro/pull/857))

### 🩹 Fixes

- GitHub template ([#712](https://github.com/unjs/nitro/pull/712))
- **deno:** Implement readAsset ([#694](https://github.com/unjs/nitro/pull/694))
- Normalize nitro plugin paths to url in development ([#732](https://github.com/unjs/nitro/pull/732))
- Use file urls for auto-imports in development ([#733](https://github.com/unjs/nitro/pull/733))
- Initialise imports.imports ([#737](https://github.com/unjs/nitro/pull/737))
- Allow optional `output` property in user rollup config ([#751](https://github.com/unjs/nitro/pull/751))
- Accept both upper/lower-case methods ([#752](https://github.com/unjs/nitro/pull/752))
- **prerender:** Check each segment length is less than 255 chars and whole path 1024 ([#757](https://github.com/unjs/nitro/pull/757))
- Include only compressible mime types ([#761](https://github.com/unjs/nitro/pull/761))
- Remove base url before calculating route rules ([#767](https://github.com/unjs/nitro/pull/767))
- **netlify, vercel:** Order route rules from most specific + avoid double-rendering root ([#768](https://github.com/unjs/nitro/pull/768))
- **build:** Correctly formatted fs tree ([#778](https://github.com/unjs/nitro/pull/778))
- **prerender:** Decode urls to allow comma in the `x-nitro-prerender` header ([#799](https://github.com/unjs/nitro/pull/799))
- **build:** Do not override publicAssets ([#817](https://github.com/unjs/nitro/pull/817))
- **dev:** Improve vfs ui ([#802](https://github.com/unjs/nitro/pull/802))
- Resolve and include scanDirs within `node_modules` for auto import ([#812](https://github.com/unjs/nitro/pull/812))
- **netlify, vercel:** Explicit server rendering with disabled cache/swr ([#829](https://github.com/unjs/nitro/pull/829))
- **prerender:** Check link's pathname only for extensions ([#791](https://github.com/unjs/nitro/pull/791))
- **rumtime:** Disable server-timing header via options.timing ([#823](https://github.com/unjs/nitro/pull/823))
- Avoid using file urls for normalized paths in options ([7517293](https://github.com/unjs/nitro/commit/7517293))
- Rollup treeshake is dump ([2ce4edb](https://github.com/unjs/nitro/commit/2ce4edb))
- **externals:** Normalize `inline` and `external` windows paths ([0638f64](https://github.com/unjs/nitro/commit/0638f64))
- **netlify, aws:** Omit cookies from v1 response ([#834](https://github.com/unjs/nitro/pull/834))
- Filter unique scanned handlers ([#807](https://github.com/unjs/nitro/pull/807))
- **nitro:** Resolve server asset dirs relative to `srcDir` ([#825](https://github.com/unjs/nitro/pull/825))
- **public-assets:** Mock readAsset promise properly ([#851](https://github.com/unjs/nitro/pull/851))
- **externals:** Avoid recursive package links ([b77735e](https://github.com/unjs/nitro/commit/b77735e))

### πŸ’… Refactors

- Upgrade and reduce usage of `fs-extra` ([cfbd029](https://github.com/unjs/nitro/commit/cfbd029))
- Update `event.` to `event.node.` ([#828](https://github.com/unjs/nitro/pull/828))

### πŸ“– Documentation

- Fix url in auto-imports guide ([#683](https://github.com/unjs/nitro/pull/683))
- Fix spelling of cluster ([#720](https://github.com/unjs/nitro/pull/720))
- Wording change ([#724](https://github.com/unjs/nitro/pull/724))
- Fix readme grammar ([#813](https://github.com/unjs/nitro/pull/813))
- Fix deprecated function in routing example ([#816](https://github.com/unjs/nitro/pull/816))
- Add new render deployment example & steps ([#811](https://github.com/unjs/nitro/pull/811))
- Fix typo in code block ([#830](https://github.com/unjs/nitro/pull/830))
- Add cache base option example & description ([#781](https://github.com/unjs/nitro/pull/781))

### 🏑 Chore

- Lint repository with eslint config and format with prettier ([#739](https://github.com/unjs/nitro/pull/739))
- Limit prettier lint to src ([6a735b1](https://github.com/unjs/nitro/commit/6a735b1))
- Fix type issue ([a60e4bd](https://github.com/unjs/nitro/commit/a60e4bd))
- Fix lint issues ([7ee8e7f](https://github.com/unjs/nitro/commit/7ee8e7f))
- Disable failing api type tests ([1d9102a](https://github.com/unjs/nitro/commit/1d9102a))
- Fix lint issue ([30e4d32](https://github.com/unjs/nitro/commit/30e4d32))
- Add missing parenthesis in header ([#801](https://github.com/unjs/nitro/pull/801))
- Add lint fix command shortcut ([#835](https://github.com/unjs/nitro/pull/835))
- Update lockfile ([bb9ac5b](https://github.com/unjs/nitro/commit/bb9ac5b))

### βœ… Tests

- Add tests for dev server and proxy ([#644](https://github.com/unjs/nitro/pull/644))
- Re-enable api type tests and fix type assertion ([#772](https://github.com/unjs/nitro/pull/772))
- Update fixtures ([a52c832](https://github.com/unjs/nitro/commit/a52c832))

### 🎨 Styles

- Lint code ([15edef0](https://github.com/unjs/nitro/commit/15edef0))

### πŸ€– CI

- Run tests against windows as well ([#837](https://github.com/unjs/nitro/pull/837))

#### ⚠️ Breaking Changes

- ⚠️ Upgrade rollup to 3.x ([#580](https://github.com/unjs/nitro/pull/580))
- ⚠️ Rewrite external copy with multi version hoisting support ([#782](https://github.com/unjs/nitro/pull/782))

### ❀️ Contributors

- Pooya Parsa <[email protected]>
- Yasser Lahbibi <[email protected]>
- Harlan Wilton <[email protected]>
- Christian Preston <[email protected]>
- Louis Haftmann
- Daniel Roe <[email protected]>
- Xin Du (Clark) <[email protected]>
- Jonas Thelemann <[email protected]>
- Shoubhit Dash <[email protected]>
- Anthony Fu <[email protected]>
- Chambers
- Patrick Schnyder
- Alvar LagerlΓΆf
- Pascal
- Eduardo San Martin Morote
- Johann Schopplich <[email protected]>
- Nathan Chase <[email protected]>
- Dany Sluijk <[email protected]>
- Alexander Lichter <[email protected]>
- Nobody5050
- Ʀᴀʏ <[email protected]>
- Nozomu Ikuta
- James Ray <[email protected]>
- SerKo

## [1.0.0](https://github.com/unjs/nitro/compare/v1.0.0-1...v1.0.0) (2022-11-16)

## [1.0.0-1](https://github.com/unjs/nitro/compare/v1.0.0-0...v1.0.0-1) (2022-11-16)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<h1 align="center">βš—οΈ Nitro</h1>
<p align="center">Build and Deploy Universal JavaScript Servers</p>

## Why using Nitro?
## Why use Nitro?

Nitro provides a powerful toolchain and a runtime framework from the [UnJS](https://github.com/unjs) ecosystem to build and deploy **any JavaScript server, anywhere!**

Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.guide/1.introduction/3.routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default eventHandler(async event => {
```js
// routes/user.post.ts
export default eventHandler(async event => {
const body = await useBody(event)
const body = await readBody(event)
// TODO: Handle body and update user
return `User updated!`
})
Expand Down
Loading