From 584e3d47dab74587e02ca57f862510fda63c8170 Mon Sep 17 00:00:00 2001 From: Dimitris Spachos Date: Fri, 26 Jul 2024 21:02:24 +0300 Subject: [PATCH] feat(slb): add key auth option to silverback gatbsy ajax build route --- .../amazeelabs/silverback_gatsby/silverback_gatsby.routing.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/composer/amazeelabs/silverback_gatsby/silverback_gatsby.routing.yml b/packages/composer/amazeelabs/silverback_gatsby/silverback_gatsby.routing.yml index cab66cc9ee..743e46459c 100644 --- a/packages/composer/amazeelabs/silverback_gatsby/silverback_gatsby.routing.yml +++ b/packages/composer/amazeelabs/silverback_gatsby/silverback_gatsby.routing.yml @@ -12,6 +12,8 @@ silverback_gatsby.build: path: '/silverback_gatsby/ajax/build' defaults: _controller: '\Drupal\silverback_gatsby\Controller\BuildController::build' + options: + _auth: ['key_auth'] requirements: _permission: 'trigger a gatsby build' publisher.access: