mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
Fix trailing commas
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = function (Meta) {
|
|||||||
{
|
{
|
||||||
_attr: {
|
_attr: {
|
||||||
xmlns: 'http://a9.com/-/spec/opensearch/1.1/',
|
xmlns: 'http://a9.com/-/spec/opensearch/1.1/',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
ShortName: String(Meta.config.title || Meta.config.browserTitle || 'NodeBB'),
|
ShortName: String(Meta.config.title || Meta.config.browserTitle || 'NodeBB'),
|
||||||
@@ -30,11 +30,11 @@ module.exports = function (Meta) {
|
|||||||
type: 'text/html',
|
type: 'text/html',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts',
|
template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts',
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
],
|
||||||
};
|
};
|
||||||
fs.writeFile(osdFilePath, xml([osdObject], { declaration: true, indent: '\t' }), callback);
|
fs.writeFile(osdFilePath, xml([osdObject], { declaration: true, indent: '\t' }), callback);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user