mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix variable leak in theme.js
This commit is contained in:
parent
70f3e72a20
commit
41f3b0c333
@ -56,8 +56,6 @@ function serveFile(app,baseUrl,file) {
|
||||
module.exports = {
|
||||
init: function(runtime) {
|
||||
var settings = runtime.settings;
|
||||
var i;
|
||||
var url;
|
||||
themeContext = clone(defaultContext);
|
||||
if (runtime.version) {
|
||||
themeContext.version = runtime.version();
|
||||
@ -68,6 +66,8 @@ module.exports = {
|
||||
},
|
||||
|
||||
app: function() {
|
||||
var i;
|
||||
var url;
|
||||
themeSettings = {};
|
||||
|
||||
var themeApp = express();
|
||||
|
Loading…
Reference in New Issue
Block a user