mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
committed by
Barış Soner Uşaklı
parent
c2b0be1f2c
commit
e8a3c23d42
@@ -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