index.js 229 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 const express = require('express'); const router = express.Router(); const { calcDistance } = require('../controller/calcDistance'); /* GET home page. */ router.post('/checkProfanity', calcDistance); module.exports = router;