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 12ae165 commit 965e5f8Copy full SHA for 965e5f8
src/components/user/register.vue
@@ -117,6 +117,9 @@ export default {
117
if (err.request.status === 400) {
118
// HTTP 400 Bad Request
119
this.$SegmentMessage.error(this, JSON.parse(err.request.response).detail);
120
+ } else if (err.request.status === 406){
121
+ // HTTP 406 Not Acceptable
122
+ this.$SegmentMessage.error(this, JSON.parse(err.request.response).detail);
123
} else if (err.request.status === 409) {
124
// HTTP 409 Conflict
125
this.$SegmentMessage.error(this, 'Username has been taken');
src/sfconfig.js
@@ -1,6 +1,6 @@
1
export default {
2
api: {
3
- server: 'http://172.32.5.25:8000/api'
+ server: 'http://172.32.1.144:8000/api'
4
},
5
markdown: {
6
gfm: true,
0 commit comments