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;