diff --git a/src/server/server.ts b/src/server/server.ts index 480ba57..c6e4204 100644 --- a/src/server/server.ts +++ b/src/server/server.ts @@ -4,13 +4,13 @@ import type { Env, NotFoundHandler, ErrorHandler, MiddlewareHandler } from 'hono import { createMiddleware } from 'hono/factory' import type { H } from 'hono/types' import { IMPORTING_ISLANDS_ID } from '../constants.js' +import { contextStorage } from './context-storage.js' import { filePathToPath, groupByDirectory, listByDirectory, sortDirectoriesByDepth, -} from '../utils/file.js' -import { contextStorage } from './context-storage.js' +} from './utils/file.js' const NOTFOUND_FILENAME = '_404.tsx' const ERROR_FILENAME = '_error.tsx' diff --git a/src/utils/file.test.ts b/src/server/utils/file.test.ts similarity index 100% rename from src/utils/file.test.ts rename to src/server/utils/file.test.ts diff --git a/src/utils/file.ts b/src/server/utils/file.ts similarity index 100% rename from src/utils/file.ts rename to src/server/utils/file.ts