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

12 lines
189 B
Swift

import Vapor
func routes(_ app: Application) throws {
app.get { req in
return "It works!"
}
app.get("hello") { req -> String in
return "Hello, world!"
}
}