You've already forked AstralRinth
forked from didirus/AstralRinth
Fix Internal Server Error
This commit is contained in:
@@ -71,7 +71,9 @@ export default {
|
|||||||
async asyncData(data) {
|
async asyncData(data) {
|
||||||
const config = {
|
const config = {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: data.$auth.getToken('local'),
|
Authorization: data.$auth.getToken('local')
|
||||||
|
? data.$auth.getToken('local')
|
||||||
|
: '',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,9 @@ export default {
|
|||||||
async asyncData(data) {
|
async asyncData(data) {
|
||||||
const config = {
|
const config = {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: data.$auth.getToken('local'),
|
Authorization: data.$auth.getToken('local')
|
||||||
|
? data.$auth.getToken('local')
|
||||||
|
: '',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,9 @@ export default {
|
|||||||
async asyncData(data) {
|
async asyncData(data) {
|
||||||
const config = {
|
const config = {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: data.$auth.getToken('local'),
|
Authorization: data.$auth.getToken('local')
|
||||||
|
? data.$auth.getToken('local')
|
||||||
|
: '',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -121,7 +121,9 @@ export default {
|
|||||||
async asyncData(data) {
|
async asyncData(data) {
|
||||||
const config = {
|
const config = {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: data.$auth.getToken('local'),
|
Authorization: data.$auth.getToken('local')
|
||||||
|
? data.$auth.getToken('local')
|
||||||
|
: '',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -220,7 +220,9 @@ export default {
|
|||||||
async asyncData(data) {
|
async asyncData(data) {
|
||||||
const config = {
|
const config = {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: data.$auth.getToken('local'),
|
Authorization: data.$auth.getToken('local')
|
||||||
|
? data.$auth.getToken('local')
|
||||||
|
: '',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,9 @@ export default {
|
|||||||
async asyncData(data) {
|
async asyncData(data) {
|
||||||
const config = {
|
const config = {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: data.$auth.getToken('local'),
|
Authorization: data.$auth.getToken('local')
|
||||||
|
? data.$auth.getToken('local')
|
||||||
|
: '',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user