diff --git a/components/ui/Modal.vue b/components/ui/Modal.vue index 76af85eab..f27cdb036 100644 --- a/components/ui/Modal.vue +++ b/components/ui/Modal.vue @@ -3,7 +3,7 @@
diff --git a/middleware/analytics.js b/middleware/analytics.js index 4bb4fea87..fed71cc48 100644 --- a/middleware/analytics.js +++ b/middleware/analytics.js @@ -11,7 +11,7 @@ export default function (context) { return } - if (context.$config.analytics.base_url == null) { + if (process.env.NODE_ENV !== 'production') { return } diff --git a/nuxt.config.js b/nuxt.config.js index c81095f5d..c8bc06b62 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -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`, diff --git a/pages/_type/_id.vue b/pages/_type/_id.vue index f3290f4e2..aa367a973 100644 --- a/pages/_type/_id.vue +++ b/pages/_type/_id.vue @@ -8,7 +8,7 @@@@ -27,29 +28,32 @@
On the technical level, Modrinth is made up of two main components: the Rust-based backend named - Labrinth, and the Vue-based frontend named - Knossos + Knossos
Additionally, some other custom-created resources exist, including but not limited to: - Minotaur, a Gradle plugin for easily publishing mods to Modrinth, and - Minos, - an authentication provider. All of Modrinth's code can be found on - our GitHub page + Minos, an authentication provider. All of Modrinth's code can be found on + our GitHub page.
Documentation for the Modrinth API (Labrinth) can be found on the GitHub repository's wiki - here. + here.
diff --git a/pages/index.vue b/pages/index.vue index 574891208..35fdcba11 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -12,10 +12,12 @@