Skip to content

Commit a5533dc

Browse files
authored
Open links in secure new tabs (#1451)
* secure links * another link
1 parent ea3a1d3 commit a5533dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/game.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ module.exports = class Game extends Room {
589589
this.players.forEach(player => {
590590
if (!player.isBot) {
591591
player.exit();
592-
player.err("Whoops! An error occurred while starting the game. Please try again later. If the problem persists, you can open an issue on the Github repository: <a href='https://github.com/dr4fters/dr4ft/issues'>https://github.com/dr4fters/dr4ft/issues</a>");
592+
player.err("Whoops! An error occurred while starting the game. Please try again later. If the problem persists, you can open an issue on the Github repository: <a href='https://github.com/dr4fters/dr4ft/issues' target='_blank' rel='noreferrer'>https://github.com/dr4fters/dr4ft/issues</a>");
593593
}
594594
});
595595
Rooms.delete(this.id);

frontend/src/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const STRINGS = {
1414
FOOTER:
1515
<div style={{ padding: 10 }}>
1616
Contributions welcome! &nbsp;
17-
<a href='https://github.com/dr4fters/dr4ft'>
17+
<a href='https://github.com/dr4fters/dr4ft' target='_blank' rel='noreferrer'>
1818
<img
1919
src='https://upload.wikimedia.org/wikipedia/commons/9/91/Octicons-mark-github.svg'
2020
alt='GitHub' title='GitHub Repository' align='top' height='18'

0 commit comments

Comments
 (0)