kopia lustrzana https://github.com/c9/core
mock emergency in makestatic.js
rodzic
5a1c42238a
commit
a362fe0b04
|
@ -76,9 +76,10 @@ function main(config, settings, options, callback) {
|
||||||
})
|
})
|
||||||
.concat({
|
.concat({
|
||||||
consumes: [],
|
consumes: [],
|
||||||
provides: ["cdn.build", "db", "redis", "health"],
|
provides: ["cdn.build", "db", "redis", "health", "emergency"],
|
||||||
setup: function(options, imports, register) {
|
setup: function(options, imports, register) {
|
||||||
register(null, {
|
register(null, {
|
||||||
|
"emergency": {},
|
||||||
"cdn.build": {},
|
"cdn.build": {},
|
||||||
"db": {
|
"db": {
|
||||||
"Vfs": {
|
"Vfs": {
|
||||||
|
@ -99,6 +100,7 @@ function main(config, settings, options, callback) {
|
||||||
var path = p.packagePath;
|
var path = p.packagePath;
|
||||||
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.emergency/emergency") == -1
|
||||||
&& path.indexOf("c9.api/health") == -1;
|
&& path.indexOf("c9.api/health") == -1;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue