impl Account Table
This commit is contained in:
15
Sources/stella/routes.swift
Normal file
15
Sources/stella/routes.swift
Normal file
@@ -0,0 +1,15 @@
|
||||
import Fluent
|
||||
import Vapor
|
||||
|
||||
func routes(_ app: Application) throws {
|
||||
app.get { req async in
|
||||
"It works!"
|
||||
}
|
||||
|
||||
app.get("hello") { req async -> String in
|
||||
"Hello, world!"
|
||||
}
|
||||
|
||||
try app.register(collection: InfodeskController())
|
||||
try app.register(collection: OpenApiController())
|
||||
}
|
Reference in New Issue
Block a user