|
|
@@ -16,7 +16,7 @@ router.get('/', process());
|
|
|
function process() {
|
|
|
return (req, res, next) => {
|
|
|
(async function () {
|
|
|
- let uri = req.originalUrl.substring(1);
|
|
|
+ let uri = req.baseUrl;
|
|
|
let cacheKey = `${CACHE_PREFIX}_${uri}`;
|
|
|
let htmlData = await redis.getAsync(cacheKey);
|
|
|
// htmlData = null;
|