fix: mercureUrl for prod

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-02-01 18:16:46 +01:00
parent d4142012ec
commit c6bd6ba549
3 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ export default class extends Controller {
// ...
connect() {
const topic = this.data.get('topic');
const mercureHubUrl = 'https://localhost/.well-known/mercure';
const mercureHubUrl = 'https://mangarr.test.nestor-server.fr/.well-known/mercure';
const eventSource = new EventSource(`${mercureHubUrl}?topic=${topic}`);
eventSource.onmessage = (event) => {