Schafkopf-Server/Sources/App/configure.swift

11 lines
284 B
Swift
Raw Normal View History

2021-11-25 19:15:38 +01:00
import Vapor
// configures your application
public func configure(_ app: Application) throws {
// uncomment to serve files from /Public folder
// app.middleware.use(FileMiddleware(publicDirectory: app.directory.publicDirectory))
// register routes
try routes(app)
}