Update with loading configuration

syncAPITesting-2
Akeela Azhar 1 year ago
parent 99b66cc21d
commit 0cc52973a0

@ -181,7 +181,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
// Load the configuration file
Properties config = new Properties();
try (FileInputStream configFile = new FileInputStream("org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/config.json")) {
try (FileInputStream configFile = new FileInputStream("components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/config.json")) {
config.load(configFile);
} catch (IOException e) {
e.printStackTrace();

Loading…
Cancel
Save