FestivalServer/Sources/App/configure.swift
Christoph Hagen ce95ce5856 first commit
2021-10-02 21:45:32 +02:00

11 lines
284 B
Swift

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)
}