Merge pull request #32 from archem-team/feat/https_invite_link

https added on links
This commit is contained in:
teamabron
2025-02-02 17:41:31 +03:30
committed by GitHub

View File

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