index.js 229 Bytes
const express = require('express');

const router = express.Router();

const { calcDistance } = require('../controller/calcDistance');

/* GET home page. */
router.post('/checkProfanity', calcDistance);

module.exports = router;