add bsr, map and yt buttons to scores
Some checks failed
Deploy SSR / deploy (push) Has been cancelled
Some checks failed
Deploy SSR / deploy (push) Has been cancelled
This commit is contained in:
8
src/common/website-utils.ts
Normal file
8
src/common/website-utils.ts
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Sets the player id cookie
|
||||
*
|
||||
* @param playerId the player id to set
|
||||
*/
|
||||
export function setPlayerIdCookie(playerId: string) {
|
||||
document.cookie = `playerId=${playerId}`;
|
||||
}
|
Reference in New Issue
Block a user