From 45b8e6b66a826e36d3e2fd7d504c59f54955f511 Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Wed, 17 Oct 2018 18:31:35 +0200 Subject: [PATCH] Added TODO to controllers/entry.js refs #9866 --- core/server/services/routing/controllers/entry.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/server/services/routing/controllers/entry.js b/core/server/services/routing/controllers/entry.js index b28dc6bc94..bafc395b80 100644 --- a/core/server/services/routing/controllers/entry.js +++ b/core/server/services/routing/controllers/entry.js @@ -66,6 +66,9 @@ module.exports = function entryController(req, res, next) { * * @NOTE: * This file is used for v0.1 and v2. v0.1 returns relative urls, v2 returns absolute urls. + * + * @TODO: + * Simplify if we drop v0.1. */ if (urlService.utils.absoluteToRelative(entry.url, {withoutSubdirectory: true}) !== req.path) { debug('redirect');