Skip to content

Commit

Permalink
fix: add happy-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
toniengelhardt committed Apr 18, 2024
1 parent 70912f9 commit 17ab591
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 13 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@unocss/nuxt": "^0.59.3",
"@vueuse/nuxt": "^10.9.0",
"eslint": "^9.0.0",
"happy-dom": "^14.7.1",
"nuxt": "^3.11.2",
"nuxt-icon": "^0.6.10",
"postcss-nested": "^6.0.1",
Expand Down
42 changes: 33 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions server/api/__sitemap__/urls.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// @ts-expect-error 2305
import { asSitemapUrl, defineSitemapEventHandler } from '#imports'

import { webApiExportList } from '@/utils/export'

export default defineSitemapEventHandler(async () => {
return webApiExportList.map(webApiId => asSitemapUrl({ loc: `/apis/${webApiId}` }))
})
export default defineSitemapEventHandler(async () => (
webApiExportList.map(webApiId => asSitemapUrl({ loc: `/apis/${webApiId}` }))
))

0 comments on commit 17ab591

Please sign in to comment.