- eveai_chat_client updated to retrieve static files from the correct (bunny.net) location when a STATIC_URL is defined.
- Defined locations for crewai crew memory. This failed in k8s. - Redis connection for pub/sub in ExecutionProgressTracker adapted to conform to TLS-enabled connections
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<!-- EveAI Logo voor AI berichten - links boven, half buiten de bubbel -->
|
||||
<img
|
||||
v-if="message.sender === 'ai'"
|
||||
src="/static/assets/img/eveai_logo.svg"
|
||||
:src="staticUrl('assets/img/eveai_logo.svg')"
|
||||
alt="EveAI"
|
||||
class="ai-message-logo"
|
||||
/>
|
||||
@@ -105,7 +105,7 @@
|
||||
<!-- EveAI Logo voor AI berichten - links boven, half buiten de bubbel -->
|
||||
<img
|
||||
v-if="message.sender === 'ai'"
|
||||
src="/static/assets/img/eveai_logo.svg"
|
||||
:src="staticUrl('assets/img/eveai_logo.svg')"
|
||||
alt="EveAI"
|
||||
class="ai-message-logo"
|
||||
/>
|
||||
@@ -124,7 +124,7 @@
|
||||
<!-- EveAI Logo voor AI berichten - links boven, half buiten de bubbel -->
|
||||
<img
|
||||
v-if="message.sender === 'ai'"
|
||||
src="/static/assets/img/eveai_logo.svg"
|
||||
:src="staticUrl('assets/img/eveai_logo.svg')"
|
||||
alt="EveAI"
|
||||
class="ai-message-logo"
|
||||
/>
|
||||
@@ -166,11 +166,23 @@ export default {
|
||||
originalTexts
|
||||
);
|
||||
|
||||
// Helper to build environment-aware static asset URLs
|
||||
const staticUrl = (p) => {
|
||||
try {
|
||||
if (typeof window !== 'undefined' && typeof window.staticUrl === 'function') {
|
||||
return window.staticUrl(p);
|
||||
}
|
||||
} catch (e) {}
|
||||
const base = '/static/';
|
||||
return base + String(p || '').replace(/^\/+/, '');
|
||||
};
|
||||
|
||||
return {
|
||||
messageTexts: translations,
|
||||
translationLoading: isLoading,
|
||||
translationError: error,
|
||||
currentLanguage
|
||||
currentLanguage,
|
||||
staticUrl
|
||||
};
|
||||
},
|
||||
props: {
|
||||
|
||||
Reference in New Issue
Block a user