From 733b6b3d29bbeff0db824eb65be669a6d2aeef20 Mon Sep 17 00:00:00 2001 From: Paul Fitzpatrick Date: Mon, 10 Jul 2023 12:49:56 -0400 Subject: [PATCH] (core) add back config call for external storage Summary: add back config call for external storage in the right order. Test Plan: existing saas tests catch this Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D3946 --- app/server/lib/FlexServer.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/server/lib/FlexServer.ts b/app/server/lib/FlexServer.ts index 04c31971..72a55f13 100644 --- a/app/server/lib/FlexServer.ts +++ b/app/server/lib/FlexServer.ts @@ -1132,6 +1132,11 @@ export class FlexServer implements GristServer { await this.loadConfig(); this.addComm(); + // Temporary duplication of external storage configuration. + // This may break https://github.com/gristlabs/grist-core/pull/546, + // but will revive other uses of external storage. TODO: reconcile. + await this.create.configure?.(); + if (!isSingleUserMode()) { const externalStorage = appSettings.section('externalStorage'); const haveExternalStorage = Object.values(externalStorage.nested)