mirror of
https://github.com/foomo/coreml-service-yolov8.git
synced 2025-10-16 12:25:42 +00:00
12 lines
187 B
Swift
12 lines
187 B
Swift
import Vapor
|
|
|
|
func routes(_ app: Application) throws {
|
|
app.get { req async in
|
|
"It works!"
|
|
}
|
|
|
|
app.get("hello") { req async -> String in
|
|
"Hello, world!"
|
|
}
|
|
}
|