We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e318b24 commit b9e352bCopy full SHA for b9e352b
config/api.js
@@ -1,7 +1,7 @@
1
const env = require('../env.json');
2
3
export default {
4
- apiUrl: env.API_URL || "https://api.lua-china.com",
+ apiUrl: env.API_URL || "https://lua-china.com/api",
5
apiInternalUrl: env.API_INTERNAL_URL,
6
githubClientId: env.GITHUB_CLIENT_ID,
7
-}
+}
pages/users/_id/edit.vue
@@ -97,7 +97,7 @@ export default {
97
formdata.append("file", avatar);
98
this.isUploading = true;
99
apiService
100
- .post("https://file.lua-china.com/v1/cos/upload/cdn", formdata)
+ .post("https://lua-china.com/file/v1/cos/upload/cdn", formdata)
101
.then(res => {
102
this.user.avatar = res.data.data.cdn_url;
103
this.$toast({
0 commit comments