mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +01:00
Compare commits
3 Commits
custom-use
...
v1.10.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e6d72552e | ||
|
|
e0d642c78a | ||
|
|
134c74358e |
@@ -2,7 +2,7 @@
|
||||
"name": "nodebb",
|
||||
"license": "GPL-3.0",
|
||||
"description": "NodeBB Forum",
|
||||
"version": "1.9.3",
|
||||
"version": "1.10.0",
|
||||
"homepage": "http://www.nodebb.org",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -268,7 +268,7 @@ define('admin/extend/plugins', ['jqueryui', 'translator', 'benchpress'], functio
|
||||
};
|
||||
|
||||
Plugins.suggest = function (pluginId, callback) {
|
||||
var nbbVersion = app.config.version.match(/^\d\.\d\.\d/);
|
||||
var nbbVersion = app.config.version.match(/^\d+\.\d+\.\d+/);
|
||||
$.ajax((app.config.registry || 'https://packages.nodebb.org') + '/api/v1/suggest', {
|
||||
type: 'GET',
|
||||
data: {
|
||||
|
||||
@@ -67,7 +67,7 @@ function loadConfig(configFile) {
|
||||
});
|
||||
nconf.stores.env.readOnly = true;
|
||||
|
||||
nconf.set('runJobs', nconf.get('isPrimary') && !nconf.get('jobsDisabled'));
|
||||
nconf.set('runJobs', nconf.get('isPrimary') === 'true' && !nconf.get('jobsDisabled'));
|
||||
}
|
||||
|
||||
function versionCheck() {
|
||||
|
||||
Reference in New Issue
Block a user