mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-17 13:54:11 +00:00
Register string loaders (#6095)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
a25b2a2d87
commit
05d9c0686e
@ -69,7 +69,12 @@ import {
|
|||||||
StorageConfiguration,
|
StorageConfiguration,
|
||||||
type StorageAdapter
|
type StorageAdapter
|
||||||
} from '@hcengineering/server-core'
|
} from '@hcengineering/server-core'
|
||||||
import { createIndexStages, createServerPipeline, registerServerPlugins } from '@hcengineering/server-pipeline'
|
import {
|
||||||
|
createIndexStages,
|
||||||
|
createServerPipeline,
|
||||||
|
registerServerPlugins,
|
||||||
|
registerStringLoaders
|
||||||
|
} from '@hcengineering/server-pipeline'
|
||||||
import { accountPlugin } from './plugin'
|
import { accountPlugin } from './plugin'
|
||||||
|
|
||||||
const WORKSPACE_COLLECTION = 'workspace'
|
const WORKSPACE_COLLECTION = 'workspace'
|
||||||
@ -979,6 +984,7 @@ export async function createWorkspace (
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
registerServerPlugins()
|
registerServerPlugins()
|
||||||
|
registerStringLoaders()
|
||||||
const factory: PipelineFactory = createServerPipeline(
|
const factory: PipelineFactory = createServerPipeline(
|
||||||
ctx,
|
ctx,
|
||||||
mongodbUri,
|
mongodbUri,
|
||||||
|
Loading…
Reference in New Issue
Block a user