Be explicit, direct app requests to S3

This commit is contained in:
Ray Schamp 2016-04-19 10:50:57 -04:00
parent 303b5c44a8
commit f90adfcadb

View file

@ -135,11 +135,11 @@ async.auto({
cb
);
}],
backendCondition: ['version', 'passRequestCondition', function (cb, results) {
backendCondition: ['version', 'notPassRequestCondition', function (cb, results) {
fastly.request(
'PUT',
fastly.getFastlyAPIPrefix(FASTLY_SERVICE_ID, results.version) + '/backend/femto',
{request_condition: results.passRequestCondition.name},
fastly.getFastlyAPIPrefix(FASTLY_SERVICE_ID, results.version) + '/backend/s3',
{request_condition: results.notPassRequestCondition.name},
cb
);
}],