Fixes and clearing

This commit is contained in:
Max Chaev 2025-02-09 16:58:07 +03:00
parent 63151ad724
commit 051143abd0
3 changed files with 3 additions and 10 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/obj /obj
/.vscode /.vscode
*.db *.db
*.conf

View File

@ -39,7 +39,7 @@ namespace RestySqlite
var group = app.MapGroup(handle); var group = app.MapGroup(handle);
group.MapGet($"{handle}/", async() => { return await repo.ListTables(); }); group.MapGet("/", async() => { return await repo.ListTables(); });
group.MapGet("/{tableName}", async(string tableName) => group.MapGet("/{tableName}", async(string tableName) =>
{ return await repo.ListColumns(tableName); }); { return await repo.ListColumns(tableName); });

View File

@ -1,8 +0,0 @@
title = "Configuration file for API"
[api]
port = 5417
handle = "api"
[sql]
database = "test"