fix(server): gate drive backend on simulation
This commit is contained in:
parent
74ae95c2ef
commit
c4ccc9cbd1
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ function makeRoutes<AuthError, AuthServices>(
|
|||
[PluginRuntime.providerNode, PluginRuntime.providerNodeWithCell(pluginRuntimeCell)],
|
||||
...(sdkPlugins ? [[SdkPlugins.node, SdkPlugins.layerWithStore(sdkPlugins)] as const] : []),
|
||||
]
|
||||
const serviceLayer = simulateEnabled() || driveEnabled()
|
||||
const serviceLayer = simulateEnabled()
|
||||
? Layer.unwrap(
|
||||
Effect.gen(function* () {
|
||||
const { simulationReplacements, startDriveServer } = yield* Effect.promise(() =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue