加载基本文件

时间:2018-10-23 10:51:08

标签: javascript

app/config/中,我有一个名为connection.properties的文件,其中包含我的API网址

  `API=http://localhost:12345/context/api`

如何将其加载到app/src/folder/中的控制器上?

控制器代码:

// REST API Base URL
var baseUrl = I need the URL from the properties file here;

0 个答案:

没有答案