mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-08 02:13:34 +00:00
login screen package version fix
This commit is contained in:
@@ -36,9 +36,8 @@ module.exports = Mn.View.extend({
|
|||||||
templateContext: {
|
templateContext: {
|
||||||
i18n: i18n,
|
i18n: i18n,
|
||||||
getVersion: function () {
|
getVersion: function () {
|
||||||
const version = require('../../../package.json').version;
|
const version = $('#login').data('version');
|
||||||
return version;
|
return version;
|
||||||
// return $('#login').data('version');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user