0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(core): log full url for request

This commit is contained in:
Gao Sun 2024-05-24 13:38:08 +08:00
parent b5104d8c19
commit ddd1749e12
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -32,6 +32,8 @@ export default async function initApp(app: Koa): Promise<void> {
ctx.requestId = requestId;
ctx.console = consoleLog;
consoleLog.plain(`URL = ${ctx.URL.href}`);
await koaLogger({
transporter: (string) => {
consoleLog.plain(string);