Do not use template strings
This commit is contained in:
parent
9377b73aa3
commit
3576eb8081
@ -70,9 +70,9 @@ function AnonymousMapController (
|
||||
module.exports = AnonymousMapController;
|
||||
|
||||
AnonymousMapController.prototype.register = function (mapRouter) {
|
||||
mapRouter.get(`/`, this.composeCreateMapMiddleware());
|
||||
mapRouter.post(`/`, this.composeCreateMapMiddleware());
|
||||
mapRouter.options(`/`, cors('Content-Type'));
|
||||
mapRouter.get('/', this.composeCreateMapMiddleware());
|
||||
mapRouter.post('/', this.composeCreateMapMiddleware());
|
||||
mapRouter.options('/', cors('Content-Type'));
|
||||
};
|
||||
|
||||
AnonymousMapController.prototype.composeCreateMapMiddleware = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user