mirror of
1
2
Fork 0
ucaptcha/src/routes/api/index.js

13 lines
303 B
JavaScript

import express from 'express';
import {initializer} from './initializeSession.js';
import sendJson from '../../helpers/sendJson.js';
const router = new express.Router();
router.get('/init', async (req, res)=>{
const result = await initializer();
sendJson(res, result);
});
export default router;