internal: move home server into internal flag
This commit is contained in:
@@ -4,6 +4,7 @@ import { WebApplicationInterface } from '@standardnotes/ui-services'
|
||||
export class DevMode {
|
||||
constructor(private application: WebApplicationInterface) {
|
||||
InternalFeatureService.get().enableFeature(InternalFeature.Vaults)
|
||||
InternalFeatureService.get().enableFeature(InternalFeature.HomeServer)
|
||||
}
|
||||
|
||||
/** Valid only when running a mock event publisher on port 3124 */
|
||||
|
||||
@@ -176,6 +176,11 @@ export class DesktopManager
|
||||
}
|
||||
}
|
||||
|
||||
consoleLog(message: string): void {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(message)
|
||||
}
|
||||
|
||||
async onComponentInstallationComplete(componentData: DecryptedTransferPayload<ComponentContent>) {
|
||||
const component = this.application.items.findItem(componentData.uuid)
|
||||
if (!component) {
|
||||
|
||||
Reference in New Issue
Block a user