1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 15:14:20 +02:00

feat(flextype): fix endpoints includes

This commit is contained in:
Awilum
2021-08-19 21:15:10 +03:00
parent 77dc54888b
commit c7964f4d52

View File

@@ -371,7 +371,7 @@ container()->set('images', static function () {
$manipulators = [
new Orientation(),
new Crop(),
new Size(2000 * 2000),
new Size(),
new Brightness(),
new Contrast(),
new Gamma(),
@@ -437,17 +437,13 @@ if (in_array(registry()->get('flextype.settings.timezone'), DateTimeZone::listId
// Init Plugins
plugins()->init();
/**
* Include API ENDPOINTS
*/
// Include API ENDPOINTS
require_once ROOT_DIR . '/src/flextype/routes/endpoints/utils.php';
require_once ROOT_DIR . '/src/flextype/routes/endpoints/images.php';
require_once ROOT_DIR . '/src/flextype/routes/endpoints/content.php';
require_once ROOT_DIR . '/src/flextype/routes/endpoints/media.php';
require_once ROOT_DIR . '/src/flextype/routes/endpoints/tokens.php';
require_once ROOT_DIR . '/src/flextype/routes/endpoints/entries.php';
require_once ROOT_DIR . '/src/flextype/routes/endpoints/registry.php';
// Enable lazy CORS
//
// CORS (Cross-origin resource sharing) allows JavaScript web apps to make HTTP requests to other domains.