This commit is contained in:
2021-12-06 22:10:41 -03:00
parent 10b2485cfd
commit 8ef4ab1c7d
41 changed files with 1256 additions and 57 deletions

View File

@ -1,4 +1,7 @@
<?php
return [
'debug' => $_ENV['DEBUG'] ?? false
'debug' => $_ENV['DEBUG'] ?? false,
'api_key' => $_ENV['API_KEY'],
'python_api' => $_ENV['PYTHON_API'] ?? 'http://python:5000',
'python_key' => $_ENV['PYTHON_KEY']
];

View File

@ -26,6 +26,14 @@ return [
$arr['uploads'],
'pdfs'
]);
$arr['csvs'] = implode(DIRECTORY_SEPARATOR, [
$arr['uploads'],
'csvs'
]);
$arr['xlss'] = implode(DIRECTORY_SEPARATOR, [
$arr['uploads'],
'xlss'
]);
return (object) $arr;
},
'urls' => function(Container $c) {