diff --git a/src/renderer/store/modules/utils.js b/src/renderer/store/modules/utils.js index 40c60227c..644b837ed 100644 --- a/src/renderer/store/modules/utils.js +++ b/src/renderer/store/modules/utils.js @@ -375,7 +375,7 @@ const actions = { let urlType = 'unknown' const channelPattern = - /^\/(?:c\/|channel\/|user\/)?([^/]+)(?:\/join|\/featured|\/videos|\/playlists|\/about|\/community|\/channels)?\/?$/ + /^\/(?:(c|channel|user)\/)?([^/]+)(?:\/(join|featured|videos|playlists|about|community|channels))?\/?$/ const typePatterns = new Map([ ['playlist', /^\/playlist\/?$/],