kopia lustrzana https://github.com/c9/core
fix makestatic
rodzic
584e691a3f
commit
ab9cb53cf8
|
@ -72,15 +72,21 @@ function main(config, settings, options, callback) {
|
||||||
})
|
})
|
||||||
.concat({
|
.concat({
|
||||||
consumes: [],
|
consumes: [],
|
||||||
provides: ["cdn.build", "db"],
|
provides: ["cdn.build", "db", "health"],
|
||||||
setup: function(options, imports, register) {
|
setup: function(options, imports, register) {
|
||||||
register(null, { "cdn.build": {}, "db": {
|
register(null, {
|
||||||
|
"cdn.build": {},
|
||||||
|
"db": {
|
||||||
"Vfs": {
|
"Vfs": {
|
||||||
findAllAndPurge: function(maxVfsAge, callback) {
|
findAllAndPurge: function(maxVfsAge, callback) {
|
||||||
callback(null, [{}]);
|
callback(null, [{}]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} });
|
},
|
||||||
|
"health": {
|
||||||
|
addCheck: function() {}
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.filter(function(p) {
|
.filter(function(p) {
|
||||||
|
@ -88,19 +94,6 @@ function main(config, settings, options, callback) {
|
||||||
return !path || path.indexOf("c9.db.redis/redis") == -1
|
return !path || path.indexOf("c9.db.redis/redis") == -1
|
||||||
&& path.indexOf("c9.static/build") == -1
|
&& path.indexOf("c9.static/build") == -1
|
||||||
&& path.indexOf("c9.api/health") == -1;
|
&& path.indexOf("c9.api/health") == -1;
|
||||||
})
|
|
||||||
.concat({
|
|
||||||
consumes: [],
|
|
||||||
provides: ["cdn.build", "db", "health"],
|
|
||||||
setup: function(options, imports, register) {
|
|
||||||
register(null, {
|
|
||||||
"cdn.build": {},
|
|
||||||
"db": {},
|
|
||||||
"health": {
|
|
||||||
addCheck: function() {}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue