Update index.php

This commit is contained in:
Sergio Brighenti 2020-05-14 13:39:54 +02:00 committed by GitHub
parent a3092f56c2
commit 18911de752
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ $app->post('/', function (Request $request, Response $response, \DI\Container $c
$config['storage']['key'] = param($request, 'storage_key');
$config['storage']['secret'] = param($request, 'storage_secret');
$config['storage']['region'] = param($request, 'storage_region');
$config['storage']['endpoint'] = param($request, 'storage_endpoint');
$config['storage']['endpoint'] = !empty(param($request, 'storage_endpoint')) ? param($request, 'storage_endpoint') : null;
$config['storage']['bucket'] = param($request, 'storage_bucket');
$config['storage']['path'] = param($request, 'storage_path');
break;