fix: hardcoded baseurl - ref to #264

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
This commit is contained in:
Wing-Kam Wong
2021-06-17 23:30:55 +08:00
parent fe756f5c9b
commit 96a2d90439
5 changed files with 6 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ export default class GqlApi {
post(url, params) {
return this.$axios({
url,
url: `${this.$axios.defaults.baseURL}/${url}`,
method: 'post',
data: params,
})