Skip to content

Commit aaf7a24

Browse files
committed
fix(steam): remove unnecessary conditional in URL generation
1 parent 55d613c commit aaf7a24

File tree

1 file changed

+1
-1
lines changed
  • packages/protocol-launcher/src/steam

1 file changed

+1
-1
lines changed

packages/protocol-launcher/src/steam/url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ export function url(payload: Url) {
8181
if (param) {
8282
return `steam://url/${page}/${param}`
8383
}
84-
return `steam://url/${page}${page.endsWith('/') ? '' : ''}`
84+
return `steam://url/${page}`
8585
}

0 commit comments

Comments
 (0)