1
0
Fork 0
forked from svrjs/svrjs

Replace one more "SVR.JS" with reference to svrjs.json file

This commit is contained in:
Dorian Niemiec 2024-08-26 09:31:50 +02:00
parent 2e9b0ed1c5
commit f074612dda

View file

@ -11,7 +11,12 @@ module.exports = (req, res, logFacilities, config, next) => {
res.write( res.write(
'<!DOCTYPE html><html><head><title>Proxy not implemented</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><style>' + '<!DOCTYPE html><html><head><title>Proxy not implemented</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><style>' +
defaultPageCSS + defaultPageCSS +
"</style></head><body><h1>Proxy not implemented</h1><p>SVR.JS doesn't support proxy without proxy mod. If you're administator of this server, then install this mod in order to use " + "</style></head><body><h1>Proxy not implemented</h1><p>" +
name
.replace(/&/g, "&amp;")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;") +
" doesn't support proxy without proxy mod. If you're administator of this server, then install this mod in order to use " +
name name
.replace(/&/g, "&amp;") .replace(/&/g, "&amp;")
.replace(/</g, "&lt;") .replace(/</g, "&lt;")