Skip to content

Commit 3e8f443

Browse files
committed
cleanup: remove debug console logs
1 parent e5f042c commit 3e8f443

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const mimeTypes = {
2828
export const sqliteAdmin = ({ dbPath, prefix = "/admin", configPath = "./sqlite-admin-config.json" }) => {
2929
const db = new Database(dbPath);
3030
const uiPath = join(import.meta.dir, "ui", "dist");
31-
console.log("[SQLite Admin] UI Path:", uiPath);
3231

3332
// Gerenciador de Sessão
3433
const sessionManager = createSessionManager();
@@ -61,9 +60,6 @@ export const sqliteAdmin = ({ dbPath, prefix = "/admin", configPath = "./sqlite-
6160

6261
return (
6362
new Elysia({ prefix })
64-
.onRequest(({ request }) => {
65-
console.log(`[SQLite Admin] Incoming Request: ${request.url}`);
66-
})
6763
// Middleware de Autenticação
6864
.derive(({ headers }) => {
6965
const cookies = headers.cookie || '';
@@ -272,7 +268,6 @@ export const sqliteAdmin = ({ dbPath, prefix = "/admin", configPath = "./sqlite-
272268
const exists = await file.exists();
273269

274270
if (!exists) {
275-
console.log(`[SQLite Admin] Asset not found: ${filePath}`);
276271
return new Response("Not found", { status: 404 });
277272
}
278273

0 commit comments

Comments
 (0)