Skip to content

Commit 4d66763

Browse files
committed
Add display admin env
1 parent efc6391 commit 4d66763

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Controller/AdminController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public function checkRouteIntegrity(Request $request): Response
181181
'apiKey' => $apiKey,
182182
'routes' => $this->adminService->getRouteIntegrity(),
183183
'totalTokens' => $this->adminService->getTotalTokens(),
184+
'envServer' => strtoupper($_ENV['APP_ENV']),
184185
]
185186
);
186187
}

templates/admin/routeIntegrity.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{% block body %}
66
<div class="container">
7-
<h3>Routes ({{ totalTokens }} tokens)</h3>
7+
<h3>[{{ envServer }}] Routes ({{ totalTokens }} tokens)</h3>
88
{% for route in routes %}
99
<div class="col-12">
1010
<div class="row">

0 commit comments

Comments
 (0)