forked from svrjs/svrjs
Replace one more "SVR.JS" with reference to svrjs.json file
This commit is contained in:
parent
2e9b0ed1c5
commit
f074612dda
1 changed files with 6 additions and 1 deletions
|
@ -11,7 +11,12 @@ module.exports = (req, res, logFacilities, config, next) => {
|
|||
res.write(
|
||||
'<!DOCTYPE html><html><head><title>Proxy not implemented</title><meta name="viewport" content="width=device-width, initial-scale=1.0" /><style>' +
|
||||
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, "&")
|
||||
.replace(/</g, "<")
|
||||
.replace(/>/g, ">") +
|
||||
" doesn't support proxy without proxy mod. If you're administator of this server, then install this mod in order to use " +
|
||||
name
|
||||
.replace(/&/g, "&")
|
||||
.replace(/</g, "<")
|
||||
|
|
Reference in a new issue