Skip to main content

Configuration

@quik/storage-express has no defaults file of its own — it relies entirely on @quik/storage's configuration. See Storage: Config Keys and Storage: Environment Variables for the full table.

  • storage.local.enabled must be true for LocalStorage.init() to wire up Multer.
  • storage.local.upload (temp folder) and storage.local.destination (final folder) control where Multer writes files and where persist decorators move them.
  • storage.local.signed.secret is required before RequireLocalStorageToken can verify a signed URL token.
  • storage.local.http.basePath (default /storage/local) is only used to build the signed-URL string produced by @quik/storage — mount your download/upload route at a matching path if you want the two to line up.

LocalStorage.init() only runs when an HTTP engine feature is registered (hasFeature("IQHTTPEngine")); on a worker or CLI-only boot the module setup is a no-op.