add "powered by" text when running on hop

This commit is contained in:
wukko
2023-04-09 11:58:29 +06:00
parent 80de6a1ebe
commit 3004daecc9
2 changed files with 5 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ export default function(obj) {
"title": t("CollapsePrivacy"),
"body": t("PrivacyPolicy")
}])
+ `${process.env.DEPLOYMENT_ID && process.env.INTERNAL_IP ? '<a id="hop-attribution" class="explanation" href="https://hop.io/" target="_blank">powered by hop.io</a>' : ''}`
}]
})
}, {