mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 13:27:40 -02:30
Adds trailing slash to /api request
This commit is contained in:
committed by
Graham Mainwaring
parent
1d9ce6cc15
commit
efbff24528
@@ -52,7 +52,7 @@ function fetchLocaleStrings (callback) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fetchConfig (callback) {
|
function fetchConfig (callback) {
|
||||||
const request = $.ajax(`/api`);
|
const request = $.ajax('/api/');
|
||||||
|
|
||||||
request.done(res => {
|
request.done(res => {
|
||||||
angular.module('awApp').constant('ConfigSettings', res);
|
angular.module('awApp').constant('ConfigSettings', res);
|
||||||
|
|||||||
Reference in New Issue
Block a user