package {{v package/}};

import rife.engine.*;

public class {{v projectSite/}} extends Site {
    public void setup() {
        var hello = get("/hello", c -> c.print(c.template("hello")));
        get("/", c -> c.redirect(hello));
    }

    public static void main(String[] args) {
        new Server()
            .staticResourceBase("src/main/webapp")
            .start(new {{v projectSite/}}());
    }
}