mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 15:52:10 +01:00
feat: implement cache layer, CSP improvements, and database performance optimizations
- Add Redis cache implementation with LRU eviction - Enhance Content Security Policy with nonce generation - Optimize database queries with connection pooling - Add cache invalidation API endpoints - Improve security monitoring performance
This commit is contained in:
@ -61,10 +61,10 @@ function SessionLocationInfo({ session }: { session: ChatSession }) {
|
||||
Location & Language
|
||||
</h4>
|
||||
<div className="space-y-2">
|
||||
{session.countryCode && (
|
||||
{session.country && (
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-xs text-muted-foreground">Country:</span>
|
||||
<CountryDisplay countryCode={session.countryCode} />
|
||||
<CountryDisplay countryCode={session.country} />
|
||||
</div>
|
||||
)}
|
||||
{session.language && (
|
||||
|
||||
Reference in New Issue
Block a user