浏览代码

[tmp] Rename the get_config API

We will need to keep the old one for traditional one but offer
the same endpoint via the JTW API.
Romain Rigaux 4 年之前
父节点
当前提交
52672f5fee
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      desktop/core/src/desktop/js/api/urls.js

+ 2 - 1
desktop/core/src/desktop/js/api/urls.js

@@ -20,7 +20,8 @@ export const EXECUTE_API_PREFIX = '/notebook/api/execute/';
 export const DOCUMENTS_API = '/desktop/api2/doc/';
 export const DOCUMENTS_SEARCH_API = '/desktop/api2/docs/';
 export const GET_HUE_CONFIG_API = '/desktop/api2/get_hue_config';
-export const FETCH_CONFIG_API = '/desktop/api2/get_config/';
+// export const FETCH_CONFIG_API = '/desktop/api2/get_config/';
+export const FETCH_CONFIG_API = '/api/iam/get_config/';
 export const HDFS_API_PREFIX = '/filebrowser/view=' + encodeURIComponent('/');
 export const ADLS_API_PREFIX = '/filebrowser/view=' + encodeURIComponent('adl:/');
 export const ABFS_API_PREFIX = '/filebrowser/view=' + encodeURIComponent('ABFS://');