mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-24 22:10:44 +02:00
backport plugin install fix #6620
https://github.com/NodeBB/NodeBB/issues/6620
This commit is contained in:
committed by
GitHub
parent
e0d642c78a
commit
5e6d72552e
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user