diff --git a/osgi.enroute.rest.simple.provider/src/osgi/enroute/rest/simple/provider/RestServlet.java b/osgi.enroute.rest.simple.provider/src/osgi/enroute/rest/simple/provider/RestServlet.java index bca6a57..bb80989 100644 --- a/osgi.enroute.rest.simple.provider/src/osgi/enroute/rest/simple/provider/RestServlet.java +++ b/osgi.enroute.rest.simple.provider/src/osgi/enroute/rest/simple/provider/RestServlet.java @@ -39,6 +39,7 @@ public String toString() { final RestMapper mapper; RestServlet(Config config, String namespace) { + this.config = config; corsEnabled = config.corsEnabled(); this.mapper = new RestMapper(namespace); }