WIP Hello world

This commit is contained in:
2024-10-20 19:59:06 +02:00
commit b618c6a1a1
9 changed files with 657 additions and 0 deletions

10
handlers/nprofile.ts Normal file
View File

@@ -0,0 +1,10 @@
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;