change docker service environment name

This commit is contained in:
xiaomlove
2025-04-28 20:38:15 +07:00
parent 695cde1670
commit d7e80231ea
4 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ class Locale
/** @var Response $response */
$response = $next($request);
if ($response instanceof Response || $response instanceof JsonResponse) {
$response->header('Request-Id', nexus()->getRequestId())->header('Running-In-Octane', RUNNING_IN_OCTANE ? 1 : 0);
$response->header('X-Request-Id', nexus()->getRequestId())->header('X-NexusPHP-Version', VERSION_NUMBER);
}
return $response;
}