Merge pull request #23 from archem-team/rollback/https_on_invite

rollback
pull/1154/head
teamabron 2025-01-25 17:11:59 +03:30 committed by GitHub
commit c31d5f1a71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ export default function CreateInvite({
) : (
<Invite>
<Text id="app.special.modals.prompt.create_invite_created" />
<code style="font-size:14px">https://{window.location.host}/invite/{code}</code>
<code>{code}</code>
</Invite>
),
},
@ -79,7 +79,7 @@ export default function CreateInvite({
children: <Text id="app.context_menu.copy_link" />,
onClick: () =>
modalController.writeText(
`https://${window.location.host}/invite/${code}`
IS_REVOLT ? `https://rvlt.gg/${code}` : `${window.location.host}/invite/${code}`
),
},
]}