fix Analyse

This commit is contained in:
nadja
2026-08-26 17:11:44 +02:00
parent 97e6adefad
commit 51098328fa
2 changed files with 9 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ server {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 180s;
proxy_connect_timeout 10s;
} }
location / { location / {

View File

@@ -95,7 +95,13 @@ export default function Analytics() {
}; };
if (loading) return <div className="text-center py-12 text-gray-400">Laden...</div>; if (loading) return <div className="text-center py-12 text-gray-400">Laden...</div>;
if (!overview) return <div className="text-center py-12 text-gray-400">Fehler beim Laden der Analytics-Daten. {error && <span className="text-red-400 block mt-1">{error}</span>}</div>; if (!overview) return (
<div className="text-center py-12">
<p className="text-gray-500 mb-2">Fehler beim Laden der Analytics-Daten.</p>
{error && <p className="text-red-500 text-sm">{error}</p>}
<button onClick={load} className="mt-4 px-4 py-2 bg-blue-600 text-white rounded-lg text-sm hover:bg-blue-700">Erneut versuchen</button>
</div>
);
return ( return (
<div className="max-w-6xl mx-auto space-y-8"> <div className="max-w-6xl mx-auto space-y-8">