From e98336e3e937f13f6db147f6ae79a11ad1e457c0 Mon Sep 17 00:00:00 2001 From: Takeshi Suzuki Date: Sun, 24 Mar 2024 14:59:02 +0900 Subject: [PATCH] Add leading spaces --- Sources/App/routes.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/App/routes.swift b/Sources/App/routes.swift index 38a176bc..2c87a326 100644 --- a/Sources/App/routes.swift +++ b/Sources/App/routes.swift @@ -4,7 +4,7 @@ func routes(_ app: Application) throws { {{#leaf}}app.get { req async throws in try await req.view.render("index", ["title": "Hello Vapor!"]) - }{{/leaf}}{{^leaf}}app.get { req async in + }{{/leaf}}{{^leaf}} app.get { req async in "It works!" }{{/leaf}}