mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Be explicit, direct app requests to S3
This commit is contained in:
parent
303b5c44a8
commit
f90adfcadb
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
);
|
||||
}],
|
||||
|
|
Loading…
Reference in a new issue