fix(chat): correct url in game invite
This commit is contained in:
parent
3eb1057054
commit
96d8ffb5d4
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ async function onReady(fastify: FastifyInstance) {
|
|||
const profilInvite: ClientProfil = JSON.parse(data) || '';
|
||||
const linkGame: PongGameId | undefined = await setGameLink(fastify, data);
|
||||
if (!linkGame) return;
|
||||
const link: string = `<a href="https://localhost:8888/app/pong?game=${linkGame}" style="color: blue; text-decoration: underline; cursor: pointer;">Click me</a>`;
|
||||
const link: string = `<a href="/app/pong?game=${linkGame}" style="color: blue; text-decoration: underline; cursor: pointer;">Click me</a>`;
|
||||
const inviteHtml: string = 'invites you to a game ' + link;
|
||||
|
||||
if (clientName !== null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue