Change embed
This commit is contained in:
parent
5d9eb25e38
commit
9b9782ce94
@ -180,7 +180,7 @@
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
@click="
|
||||
$colorMode.value =
|
||||
$colorMode.preference =
|
||||
$colorMode.value === 'dark' ? 'light' : 'dark'
|
||||
"
|
||||
>
|
||||
@ -195,7 +195,7 @@
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
@click="
|
||||
$colorMode.value =
|
||||
$colorMode.preference =
|
||||
$colorMode.value === 'dark' ? 'light' : 'dark'
|
||||
"
|
||||
>
|
||||
@ -253,7 +253,7 @@ export default {
|
||||
},
|
||||
logout() {
|
||||
this.$auth.setToken('local', false)
|
||||
this.$router.go()
|
||||
this.$router.go(null)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@ -34,13 +34,14 @@ export default {
|
||||
},
|
||||
{ hid: 'theme-color', name: 'theme-color', content: '#4d9227' },
|
||||
|
||||
{ hid: 'og:site_name', name: 'og:site_name', content: 'Modrinth' },
|
||||
{ hid: 'og:title', name: 'og:title', content: 'Modrinth' },
|
||||
{
|
||||
hid: 'og:description',
|
||||
name: 'og:description',
|
||||
content: 'An open source modding platform',
|
||||
},
|
||||
{ hid: 'og:type', name: 'og:type', content: 'website' },
|
||||
{ hid: 'og:type', name: 'og:type', content: 'object' },
|
||||
{ hid: 'og:url', name: 'og:url', content: 'https://www.modrinth.com' },
|
||||
{
|
||||
hid: 'og:image',
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
import axios from 'axios'
|
||||
|
||||
export default {
|
||||
auth: false,
|
||||
async asyncData(data) {
|
||||
const res = await axios.get(
|
||||
`https://api.modrinth.com/api/v1/mod/${data.params.id}`
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
import axios from 'axios'
|
||||
|
||||
export default {
|
||||
auth: false,
|
||||
async asyncData(data) {
|
||||
let res = await axios.get(
|
||||
`https://api.modrinth.com/api/v1/user/${data.params.id}`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user