Skip to content

Commit

Permalink
Add token to test page server link
Browse files Browse the repository at this point in the history
  • Loading branch information
Tripperful committed May 7, 2024
1 parent 5fecc89 commit e878d38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/client/src/components/OnlineServers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export const OnlineServers: FC = () => {
<Link
key={serverInfo.id}
className={c.link}
to={`/?guid=${sessionId}`}
to={`/?guid=${sessionId}&token=${new URLSearchParams(
location.search,
).get('token')}`}
target="_blank"
>
{serverInfo.name} ({serverInfo.ip}:{serverInfo.port})
Expand Down

0 comments on commit e878d38

Please sign in to comment.