@riligar/elysia-sqlite 1.8.0 → 1.8.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.
- package/package.json +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -35,7 +35,7 @@ export const sqliteAdmin = ({ dbPath, prefix = "/sqlite", configPath }) => {
|
|
|
35
35
|
// Se configPath não for especificado, deriva do diretório do banco de dados
|
|
36
36
|
// Isso garante que a configuração fique no mesmo volume persistente do banco
|
|
37
37
|
const resolvedConfigPath = configPath
|
|
38
|
-
?
|
|
38
|
+
? join(configPath, "sqlite-config.json")
|
|
39
39
|
: join(dirname(absoluteDbPath), "sqlite-config.json");
|
|
40
40
|
|
|
41
41
|
// Gerenciador de Sessão
|