parent
278baa5b61
commit
886a939b02
|
@ -77,7 +77,7 @@
|
|||
this.renderState();
|
||||
return $.ajax({
|
||||
type: 'GET',
|
||||
url: `/users/${username}/exists`,
|
||||
url: `${gon.relative_url_root}/users/${username}/exists`,
|
||||
dataType: 'json',
|
||||
success: (res) => this.setAvailabilityState(res.exists)
|
||||
});
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Username exists check respects relative root path
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in New Issue