CartoDB-SQL-API/app/controllers/generic_controller.js
2023-05-19 00:42:48 +08:00

15 lines
279 B
JavaScript

'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;