diff --git a/react/src/constants/sources.ts b/react/src/constants/sources.ts index a8c3972e..d2d3d67f 100644 --- a/react/src/constants/sources.ts +++ b/react/src/constants/sources.ts @@ -1,3 +1,3 @@ -const SOURCES = (process.env.REACT_APP_SOURCE_LIST || '').split(','); +const SOURCES = (process.env.REACT_APP_SOURCE_LIST || '').split(',').map(v => v.trim()); export default SOURCES;