Skip to content

Conversation

flomillot
Copy link
Contributor

@flomillot flomillot commented Mar 28, 2024

Add the possibility to see announcements from admins.
Use the hook created in commons-ui gridsuite/commons-ui#405
From #346

Comment on lines +50 to +51
const webSocketBaseUrl = getWsBase();
return webSocketBaseUrl + PREFIX_CONFIG_NOTIFICATION_WS + '/global';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be inlined

const webSocketBaseUrl = document.baseURI
.replace(/^http:\/\//, 'ws://')
.replace(/^https:\/\//, 'wss://');
const webSocketBaseUrl = getWsBase()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

const webSocketBaseUrl = document.baseURI
.replace(/^http:\/\//, 'ws://')
.replace(/^https:\/\//, 'wss://');
const webSocketBaseUrl = getWsBase()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants