fix: mount server app on /api for local development

This commit is contained in:
prafull-opensignlabs
2024-02-23 12:34:24 +05:30
parent ed88ae013d
commit b4c5b3cbe6
3 changed files with 13 additions and 16 deletions
@@ -1,6 +1,3 @@
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;