mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 11:51:01 +01:00
chore(utils): Move cf module (#1831)
* move cloudflare * typo * fix import order * rename * missing import
This commit is contained in:
parent
4e08b8e15a
commit
a1c7144d26
@ -1,9 +1,9 @@
|
||||
// @denoify-ignore
|
||||
import type { KVNamespace } from '@cloudflare/workers-types'
|
||||
import type { MiddlewareHandler } from '../../types'
|
||||
import { getContentFromKVAsset } from '../../utils/cloudflare'
|
||||
import { getFilePath } from '../../utils/filepath'
|
||||
import { getMimeType } from '../../utils/mime'
|
||||
import { getContentFromKVAsset } from './utils'
|
||||
|
||||
export type ServeStaticOptions = {
|
||||
root?: string
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { getContentFromKVAsset } from './cloudflare'
|
||||
import { getContentFromKVAsset } from './utils'
|
||||
|
||||
// Mock
|
||||
const store: { [key: string]: string } = {
|
Loading…
Reference in New Issue
Block a user