CartoDB-SQL-API/app/controllers/generic_controller.js

15 lines
279 B
JavaScript
Raw Permalink Normal View History

2023-05-19 00:42:48 +08:00
'use strict';
function GenericController() {
}
GenericController.prototype.route = function (app) {
app.options('*', this.handleRequest.bind(this));
};
GenericController.prototype.handleRequest = function(req, res) {
res.end();
};
module.exports = GenericController;