Unverified Commit 5daa3ed0 authored by Alexander Sieg's avatar Alexander Sieg
Browse files

nixos/outline: ajust for deprecation of MAXIMUM_IMPORT_SIZE

parent 80733923
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -702,7 +702,6 @@ in
            FORCE_HTTPS = builtins.toString cfg.forceHttps;
            ENABLE_UPDATES = builtins.toString cfg.enableUpdateCheck;
            WEB_CONCURRENCY = builtins.toString cfg.concurrency;
            MAXIMUM_IMPORT_SIZE = builtins.toString cfg.maximumImportSize;
            DEBUG = cfg.debugOutput;
            GOOGLE_ANALYTICS_ID = lib.optionalString (cfg.googleAnalyticsId != null) cfg.googleAnalyticsId;
            SENTRY_DSN = lib.optionalString (cfg.sentryDsn != null) cfg.sentryDsn;
@@ -715,6 +714,7 @@ in
            RATE_LIMITER_DURATION_WINDOW = builtins.toString cfg.rateLimiter.durationWindow;

            FILE_STORAGE = cfg.storage.storageType;
            FILE_STORAGE_IMPORT_MAX_SIZE = builtins.toString cfg.maximumImportSize;
            FILE_STORAGE_UPLOAD_MAX_SIZE = builtins.toString cfg.storage.uploadMaxSize;
            FILE_STORAGE_LOCAL_ROOT_DIR = cfg.storage.localRootDir;
          }