mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-06-02 16:04:32 -04: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
|
cb
|
||||||
);
|
);
|
||||||
}],
|
}],
|
||||||
backendCondition: ['version', 'passRequestCondition', function (cb, results) {
|
backendCondition: ['version', 'notPassRequestCondition', function (cb, results) {
|
||||||
fastly.request(
|
fastly.request(
|
||||||
'PUT',
|
'PUT',
|
||||||
fastly.getFastlyAPIPrefix(FASTLY_SERVICE_ID, results.version) + '/backend/femto',
|
fastly.getFastlyAPIPrefix(FASTLY_SERVICE_ID, results.version) + '/backend/s3',
|
||||||
{request_condition: results.passRequestCondition.name},
|
{request_condition: results.notPassRequestCondition.name},
|
||||||
cb
|
cb
|
||||||
);
|
);
|
||||||
}],
|
}],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue