Skip to content

Commit 6d293df

Browse files
committed
fix: corrige o caminho do arquivo de configuração para usar join()
1 parent 4b6bc23 commit 6d293df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const sqliteAdmin = ({ dbPath, prefix = "/sqlite", configPath }) => {
3535
// Se configPath não for especificado, deriva do diretório do banco de dados
3636
// Isso garante que a configuração fique no mesmo volume persistente do banco
3737
const resolvedConfigPath = configPath
38-
? resolve(configPath)
38+
? join(configPath, "sqlite-config.json")
3939
: join(dirname(absoluteDbPath), "sqlite-config.json");
4040

4141
// Gerenciador de Sessão

0 commit comments

Comments
 (0)