mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-12-18 04:57:00 +01:00
Show local co-op icon in details page
This commit is contained in:
@@ -123,7 +123,7 @@ export function productTitleToSlug(title: string): string {
|
||||
export function parseDetailsPath(path: string) {
|
||||
const matches = /\/games\/(?<titleSlug>[^\/]+)\/(?<productId>\w+)/.exec(path);
|
||||
if (!matches?.groups) {
|
||||
return;
|
||||
return {};
|
||||
}
|
||||
|
||||
const titleSlug = matches.groups.titleSlug!.replaceAll('\%' + '7C', '-');
|
||||
|
||||
Reference in New Issue
Block a user