Skip to content

Commit

Permalink
Update webservice.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joerg committed Jul 21, 2021
1 parent 57b7bb8 commit d404d4f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/webservice.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import cherrypy, json, sys, cherrypy_cors

import cherrypy, json, sys
from topic_assistant import TopicAssistant

a = None
Expand All @@ -20,7 +19,6 @@ def topics(self):

a = TopicAssistant()

config = {'server.socket_host': '0.0.0.0', 'cors.expose.on': True}
cherrypy_cors.install()
config = {'server.socket_host': '0.0.0.0'}
cherrypy.config.update(config)
cherrypy.quickstart(WebService())

0 comments on commit d404d4f

Please sign in to comment.