Skip to content

Commit

Permalink
Add noreferrer/noopener to external links (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock committed Jan 29, 2021
1 parent db57049 commit 9f8e76b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/miner/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var runServiceCommand func(string) error
type config struct {
HomeDir string `long:"homedir" ini-name:"homedir" description:"Path to application home directory"`
ConfigFile string `long:"configfile" ini-name:"configfile" description:"Path to configuration file"`
ActiveNet string `long:"activenet" ini-name:"activenet" description:"The active network being mined on. {simnet, testnet, mainnet}"`
ActiveNet string `long:"activenet" ini-name:"activenet" description:"The active network being mined on. {simnet, testnet3, mainnet}"`
User string `long:"user" ini-name:"user" description:"The username of the mining account"`
Address string `long:"address" ini-name:"address" description:"The address of the mining account"`
Pool string `long:"pool" ini-name:"pool" description:"The stratum domain and port of the mining pool to connect to. eg. dcrpool.com:4445"`
Expand Down
5 changes: 5 additions & 0 deletions gui/assets/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,23 @@ <h2>Identify the Miner</h2>
<ul>
<li>
<a
rel="noopener noreferrer"
href="http://www.innosilicon.com.cn/download/d9_20190521_071217.swu">Innosilicon&nbsp;D9</a>
</li>
<li><a
rel="noopener noreferrer"
href="https://file12.bitmain.com/shop-product/firmware/Antminer%20DR3/Firmware/007201907271437364778LxDsS1k06AF/Antminer-DR3-201907161805-410M.tar.gz">Antminer&nbsp;DR3</a>
</li>
<li><a
rel="noopener noreferrer"
href="https://mining.obelisk.tech/downloads/firmware/obelisk-sc1-v1.3.2.img">Obelisk&nbsp;DCR1</a>
</li>
<li><a
rel="noopener noreferrer"
href="https://file12.bitmain.com/shop-product/firmware/Antminer%20DR5/Firmware/00720190727142534231Ato7d2300650/Antminer-DR5-201907161801-600M.tar.gz">Antminer&nbsp;DR5</a>
</li>
<li><a
rel="noopener noreferrer"
href="https://github.com/decred/dcrpool/files/5651882/upgrade-whatsminer-h6-20190404.18.zip">Whatsminer&nbsp;D1</a>
</li>
</ul>
Expand Down

0 comments on commit 9f8e76b

Please sign in to comment.