mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-07 15:51:46 +02:00
Remove uneccessary curly brackets
This commit is contained in:
@@ -20,13 +20,13 @@ function generateXML() {
|
||||
{ _attr: { xmlns: 'http://a9.com/-/spec/opensearch/1.1/' } },
|
||||
{ ShortName: String(meta.config.title || meta.config.browserTitle || 'NodeBB') },
|
||||
{ Description: String(meta.config.description || '') },
|
||||
{ Url: [{
|
||||
{ Url: {
|
||||
_attr: {
|
||||
type: 'text/html',
|
||||
method: 'get',
|
||||
template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts',
|
||||
},
|
||||
}] },
|
||||
} },
|
||||
],
|
||||
}], { declaration: true, indent: '\t' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user