mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
Merge pull request #23 from archem-team/rollback/https_on_invite
rollback
This commit is contained in:
@@ -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 style="font-size:14px">https://{window.location.host}/invite/{code}</code>
|
<code>{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(
|
||||||
`https://${window.location.host}/invite/${code}`
|
IS_REVOLT ? `https://rvlt.gg/${code}` : `${window.location.host}/invite/${code}`
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user