refactor: migrate to nuxt compatibilityVersion: 4 (#3298)
This commit is contained in:
parent
46e4433e1c
commit
a3fbc056a9
342 changed files with 1200 additions and 2932 deletions
|
@ -1,6 +1,6 @@
|
|||
import { stringifyQuery } from 'ufo'
|
||||
|
||||
import { defaultUserAgent } from '~/server/utils/shared'
|
||||
import { defaultUserAgent } from '~~/server/utils/shared'
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
let { server, origin } = getRouterParams(event)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { AppInfo } from '~/types'
|
||||
import type { AppInfo } from '#shared/types'
|
||||
// @ts-expect-error virtual import
|
||||
import { env } from '#build-info'
|
||||
// @ts-expect-error virtual import
|
||||
|
@ -13,7 +13,7 @@ import memory from 'unstorage/drivers/memory'
|
|||
|
||||
import vercelKVDriver from 'unstorage/drivers/vercel-kv'
|
||||
|
||||
import { version } from '~/config/env'
|
||||
import { version } from '~~/config/env'
|
||||
import { APP_NAME } from '~/constants'
|
||||
import cached from '../cache-driver'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue