diff --git a/layouts/default.vue b/layouts/default.vue
index e607e40c6..3d8eaa6a6 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -224,7 +224,7 @@ export default {
},
computed: {
authUrl() {
- return `https://api.modrinth.com/api/v1/auth/init?url=http://localhost:3000${this.$route.path}`
+ return `https://api.modrinth.com/api/v1/auth/init?url=http://modrinth.com${this.$route.path}`
},
userUrl() {
return `/user/${this.$auth.user.id}`
diff --git a/pages/mod/create.vue b/pages/mod/create.vue
index 6ac0ca7ce..e09e8160f 100644
--- a/pages/mod/create.vue
+++ b/pages/mod/create.vue
@@ -69,8 +69,8 @@
Set this to something pretty, so URLs to your mod are more readable
@@ -92,11 +92,11 @@
Acceptable formats are PNG, JPEG and GIF
@@ -647,7 +647,6 @@ export default {
},
createVersion() {
- console.log(this.versions)
this.versions.push({
raw_files: [],
file_parts: [],
diff --git a/pages/mods.vue b/pages/mods.vue
index 7715689cb..397b4fef6 100644
--- a/pages/mods.vue
+++ b/pages/mods.vue
@@ -378,6 +378,7 @@ export default {
],
sortType: { display: 'Relevance', name: 'relevance' },
maxResults: 20,
+ firstRun: true,
}
},
methods: {
@@ -387,7 +388,7 @@ export default {
'https://api.modrinth.com/api/v1/tag/game_version?type=release'
if (x !== null) {
- if (!this.showVersions.length > 0) {
+ if (!this.showVersions.length > 0 && !this.firstRun) {
this.showVersions.push('snapshots')
url = 'https://api.modrinth.com/api/v1/tag/game_version'
@@ -399,6 +400,7 @@ export default {
const res = await axios.get(url)
this.versions = res.data
+ this.firstRun = false
} catch (err) {
// eslint-disable-next-line no-console
console.error(err)
diff --git a/pages/user/_id.vue b/pages/user/_id.vue
index cbaa8446a..2837ab49d 100644
--- a/pages/user/_id.vue
+++ b/pages/user/_id.vue
@@ -54,8 +54,8 @@