Add feature flag for opening external links in a new tab (#749)

Closes https://github.com/modrinth/knossos/issues/438
This commit is contained in:
triphora
2022-11-20 15:43:01 -05:00
committed by GitHub
parent ab2c31aa8a
commit aafd7ed21f
12 changed files with 102 additions and 53 deletions

View File

@@ -375,6 +375,7 @@ export default {
render: {
routeDone(url, result, context) {
setTimeout(() => {
if (process.env.NODE_ENV !== 'production') return
axios
.post(
`${process.env.ARIADNE_URL || STAGING_ARIADNE_URL}view`,