Use proper uppercase "UTF-8" in charset field

This commit is contained in:
Chocobo1 2020-09-07 12:08:23 +08:00
parent 2f1016494b
commit 5677ce1cc9
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
5 changed files with 5 additions and 5 deletions

View file

@ -1025,7 +1025,7 @@ const initializeWindows = function() {
new Request({
url: 'api/v2/app/shutdown',
onSuccess: function() {
document.write('<!doctype html><html lang="${LANG}"><head> <meta charset="utf-8"> <title>QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]</title></head><body> <h1 style="text-align: center;">QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]</h1></body></html>');
document.write('<!doctype html><html lang="${LANG}"><head> <meta charset="UTF-8"> <title>QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]</title></head><body> <h1 style="text-align: center;">QBT_TR(qBittorrent has been shutdown)QBT_TR[CONTEXT=HttpServer]</h1></body></html>');
document.close();
stop();
}