]> git.gag.com Git - fw/quantimotor/commitdiff
eliminate duplicate config section
authorBdale Garbee <bdale@gag.com>
Mon, 21 Apr 2025 07:21:00 +0000 (07:21 +0000)
committerBdale Garbee <bdale@gag.com>
Mon, 21 Apr 2025 07:21:00 +0000 (07:21 +0000)
application/app.py

index 438da66e6477c1145323b068be4ab56e19409c3b..dd65d7ae64ce95d30057edc631dfe79031abdc1b 100755 (executable)
@@ -14,7 +14,7 @@ path   = os.path.abspath(os.path.dirname(__file__))
 config = {
   'global' : {
     'server.socket_host' : '127.0.0.1',
-    'server.socket_port' : 8080,
+    'server.socket_port' : 80,
     'server.thread_pool' : 8
   }
 }
@@ -35,12 +35,5 @@ class App:
 
 
 if __name__ == '__main__':
-  config = {
-    'global': {
-      'server.socket_host': '0.0.0.0',
-      'server.socket_port': 80,
-    },
-  }
-
   cherrypy.quickstart(App(), '/', config)