标签: javascript
在app/config/中,我有一个名为connection.properties的文件,其中包含我的API网址
app/config/
connection.properties
`API=http://localhost:12345/context/api`
如何将其加载到app/src/folder/中的控制器上?
app/src/folder/
控制器代码:
// REST API Base URL var baseUrl = I need the URL from the properties file here;