feat: add api routes (#11)
This commit adds API routes. These routes are located in the ./pages/api/ directory. Each file in there will have it's default export invoked for HTTP calls to the corresponding route.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { denoPlugin, esbuild } from "./deps.ts";
|
||||
import { Page } from "./page.ts";
|
||||
import { Page } from "./routes.ts";
|
||||
|
||||
let esbuildInitalized: boolean | Promise<void> = false;
|
||||
async function ensureEsbuildInialized() {
|
||||
|
||||
Reference in New Issue
Block a user