Caps-Server/Sources/App/configure.swift
Christoph Hagen 5672fbf300 Update vapor
2020-09-20 11:36:35 +02:00

11 lines
348 B
Swift
Executable File

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 to the router
try routes(app)
// Configure the rest of your application here
}