mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
set http context ID for smarthome HTTP context (#818)
The Pax Web Extender is much more happy if this property is present. Let's make it happy... Fixes: https://github.com/openhab/openhab-distro/issues/891 Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
This commit is contained in:
committed by
Wouter Born
parent
7780d0d133
commit
c547414003
+2
-1
@@ -42,7 +42,8 @@ import org.osgi.service.http.HttpContext;
|
||||
*
|
||||
* @author Łukasz Dywicki - Initial contribution
|
||||
*/
|
||||
@Component(service = { HttpContext.class, WrappingHttpContext.class })
|
||||
@Component(service = { HttpContext.class, WrappingHttpContext.class }, property = {
|
||||
"httpContext.id:String=oh-dfl-http-ctx" })
|
||||
public class SmartHomeHttpContext implements WrappingHttpContext {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user