some
This commit is contained in:
1 parent
600dbf172d
commit
6357258f45
3 files changed
+315
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user