DONE: use flexible name for api call in frontend
This commit is contained in:
@@ -85,7 +85,7 @@ $(document).ready(function() {
|
||||
};
|
||||
|
||||
$.ajax({
|
||||
url: '{{ config("api.url") }}/api/maxmutuemas/update',
|
||||
url: '{{ api_url_for_browser() }}/api/maxmutuemas/update',
|
||||
type: 'POST',
|
||||
data: formData,
|
||||
success: function(response) {
|
||||
|
||||
Reference in New Issue
Block a user