This commit is contained in:
wt committed 2026-06-10 11:00:33 +07:00
1 parent 600dbf172d
commit 6357258f45
3 files changed
+315 -2

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ public func configure(_ app: Application) async throws {
app.databases.use(DatabaseConfigurationFactory.sqlite(.file("db.sqlite")), as: .sqlite)
app.migrations.add(CreateTodo())
app.http.server.configuration.address = .hostname("localhost", port: 9090)
// register routes
try routes(app)