Fix typo in comment (#4154)

This commit is contained in:
b_b 2020-07-09 13:32:54 +02:00 committed by GitHub
parent a3386e3e55
commit 358af5fea1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
var filePath = path.join(settings.root, "src", "static", "skins", settings.skinName, "robots.txt"); var filePath = path.join(settings.root, "src", "static", "skins", settings.skinName, "robots.txt");
res.sendFile(filePath, function(err) res.sendFile(filePath, function(err)
{ {
//there is no custom favicon, send the default robots.txt which dissallows all //there is no custom robots.txt, send the default robots.txt which dissallows all
if(err) if(err)
{ {
filePath = path.join(settings.root, "src", "static", "robots.txt"); filePath = path.join(settings.root, "src", "static", "robots.txt");