Trying a fix for encoding issues occuring from time to time

This commit is contained in:
Kasper Rynning-Tønnesen
2018-12-04 12:40:06 +01:00
parent 14d8ef51bb
commit cad2292269
3 changed files with 14 additions and 2 deletions

View File

@@ -255,7 +255,8 @@ function channel(req, res, next) {
}*/
var data = {
title: "404: File Not Found",
list_name: capitalizeFirstLetter(Functions.decodeChannelName(req.params.channel_name)),
//list_name: capitalizeFirstLetter(Functions.decodeChannelName(req.params.channel_name)),
list_name: capitalizeFirstLetter(req.params.channel_name),
year: year,
javascript_file: "main.min.js",
captcha: res.recaptcha,