changges
Browse files- client/src/main.py +1 -1
- display/index.html +1 -1
    	
        client/src/main.py
    CHANGED
    
    | @@ -126,7 +126,7 @@ app = Starlette(debug=True, routes=routes) | |
| 126 |  | 
| 127 |  | 
| 128 | 
             
            def server():
         | 
| 129 | 
            -
                uvicorn.run(app, host="0.0.0.0", port= | 
| 130 |  | 
| 131 |  | 
| 132 | 
             
            if __name__ == '__main__':
         | 
|  | |
| 126 |  | 
| 127 |  | 
| 128 | 
             
            def server():
         | 
| 129 | 
            +
                uvicorn.run(app, host="0.0.0.0", port=8343, log_level='info')
         | 
| 130 |  | 
| 131 |  | 
| 132 | 
             
            if __name__ == '__main__':
         | 
    	
        display/index.html
    CHANGED
    
    | @@ -10,7 +10,7 @@ | |
| 10 |  | 
| 11 | 
             
                <script>
         | 
| 12 | 
             
                  window.onload = () => {
         | 
| 13 | 
            -
                    const eventSource = new EventSource('http:// | 
| 14 | 
             
                    evtSource.onmessage = (e) => {
         | 
| 15 | 
             
                      console.log(e.data);
         | 
| 16 | 
             
                    };
         | 
|  | |
| 10 |  | 
| 11 | 
             
                <script>
         | 
| 12 | 
             
                  window.onload = () => {
         | 
| 13 | 
            +
                    const eventSource = new EventSource('http://localhost:8343/test');
         | 
| 14 | 
             
                    evtSource.onmessage = (e) => {
         | 
| 15 | 
             
                      console.log(e.data);
         | 
| 16 | 
             
                    };
         | 
