1
2
Fork 0
mirror of synced 2023-12-14 06:22:55 +01:00
ucaptcha/src/routes/api/index.js

13 lines
303 B
JavaScript
Raw Normal View History

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;