substr/handlers/nprofile.ts
2024-10-20 21:10:58 +02:00

11 lines
285 B
TypeScript

import { Context } from "@oak/oak";
const nprofileHandler = function (context: Context) {
const { request, response } = context;
const fullPath = request.url.pathname;
response.body = `You are viewing an nprofile with address: ${fullPath}`;
};
export default nprofileHandler;