mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-10 07:35:56 +08:00
refactor: restructure db logic and add import alias using tsc-alias
Note: the legacy githubTokensDb migration is not included in this commit. It's used only in `agents.js` and will be removed in a future commit. We will directly use credentials repository instead of github tokens repository.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { pathToFileURL } from 'url';
|
||||
|
||||
import { getRuntimePaths } from './config/runtime.js';
|
||||
import type { ServerApplication } from './shared/types/app.js';
|
||||
import { logger } from './shared/utils/logger.js';
|
||||
import { getRuntimePaths } from '@/config/runtime.js';
|
||||
import type { ServerApplication } from '@/shared/types/app.js';
|
||||
import { logger } from '@/shared/utils/logger.js';
|
||||
|
||||
export function createServerApplication(): ServerApplication {
|
||||
const runtimePaths = getRuntimePaths();
|
||||
|
||||
Reference in New Issue
Block a user