@riligar/elysia-backup 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riligar/elysia-backup",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Elysia plugin for R2/S3 backup with a built-in UI dashboard",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -42,7 +42,7 @@ const sessionManager = createSessionManager()
42
42
  export const r2Backup = initialConfig => app => {
43
43
  // State to hold runtime configuration (allows UI updates)
44
44
  // If configPath not specified, save config alongside sourceDir for cloud deployments
45
- const configPath = initialConfig.configPath || join(dirname(initialConfig.sourceDir), 'backup-config.json')
45
+ const configPath = join(initialConfig.configPath || dirname(initialConfig.sourceDir), 'backup-config.json')
46
46
 
47
47
  // Load saved config if exists
48
48
  let savedConfig = {}