Fix for observe request handling issue.
[platform/upstream/iotivity.git] / service / simulator / src / simulator_resource_creator.cpp
index acb0cd3..6011fea 100644 (file)
@@ -41,7 +41,7 @@ SimulatorResourcePtr SimulatorResourceCreator::createLightResoure()
 
     // set other properties
     lightResource->setName("Light");
-    lightResource->setURI("oic/light");
+    lightResource->setURI("/oic/light");
     lightResource->setResourceType("oic.light");
     lightResource->setInterfaceType(OC::DEFAULT_INTERFACE);