You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
472 B
13 lines
472 B
import { Req, Res, ReturnValue } from "#/global"
|
|
import { LoginUserSchema, RegisterUserSchema, UserSchema } from "@/schema"
|
|
import { gFail, gSuccess } from "@/util"
|
|
import { auth, config, method, route, validate } from "@noderun/hapi-router"
|
|
import * as bcrypt from "bcrypt"
|
|
|
|
export default class {
|
|
@route("/clicked")
|
|
async clicked(request: Req, h: Res): ReturnValue {
|
|
// return 'aaaaaaaaaaaaaabbbbbbbbbbbbbbbb'
|
|
return h.view("htmx/a.pug")
|
|
}
|
|
}
|
|
|