Change embed

This commit is contained in:
Jai A
2020-10-09 18:57:26 -07:00
parent 5d9eb25e38
commit 9b9782ce94
4 changed files with 7 additions and 4 deletions

View File

@@ -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}`

View File

@@ -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}`