Merge branch 'trunk'

This commit is contained in:
Vincent BRIDIER 2024-07-25 13:05:57 +02:00
commit 7003339cb7
No known key found for this signature in database
GPG key ID: 8571BFA20420D512
2 changed files with 4 additions and 2 deletions

View file

@ -88,6 +88,9 @@ class LangCheck
*/
private function checkFirstAccess(Request $request)
{
if (\strpos($request->header('User-Agent'), "Uptime-Kuma") !== false) {
return false;
}
// Do we have session ?
if (!$request->session()->has('lang')) {
$fromC = Cookie::get('language');

View file

@ -8,7 +8,7 @@ data:
APP_ENV: "${APP_APP_ENV}"
APP_KEY: "${APP_APP_KEY}"
APP_DEBUG: "${APP_APP_DEBUG}"
APP_URL: "https://www.${APP_DOMAIN}"
APP_URL: "https://${REDIRECT}${APP_DOMAIN}"
LOG_CHANNEL: "k8s"
DB_HOST: "mariadb.common-services"
DB_DATABASE: "${APP_DB_DATABASE}"
@ -107,7 +107,6 @@ spec:
port: 80
middlewares:
- name: redirect-no-www-to-www
namespace: common-services
tls:
secretName: ${CRT_TLS_NAME}