Skip to content

whoOutbreakUrl ​

Import from: @xbbg/xnews, @xbbg/xnews/catalog

whoOutbreakUrl(itemDefaultUrl): string

Defined in: src/sources/whooutbreaks.urls.ts (declaration: sources/whooutbreaks.urls.d.ts:15)

WHO returns item paths relative to the site root (/emergencies/...). Absolute URLs occasionally appear for syndicated items, so pass those through untouched instead of double-prefixing them.

Parameters ​

itemDefaultUrl ​

string

Returns ​

string

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.