Revert "fix: mount server app on /api for local development"

This commit is contained in:
Amol
2024-02-23 14:31:00 +05:30
committed by GitHub
parent f48444f21d
commit 523ea7f314
3 changed files with 16 additions and 13 deletions
@@ -1,3 +1,6 @@
import { customAPIurl } from '../../../../Utils.js';
const randomId = () => Math.floor(1000 + Math.random() * 9000);
export default async function createTemplate(request, response) {
const name = request.body?.title;
const note = request.body?.note;