소스 검색

Fix websockets (#527)

Nikhil Rao 2 년 전
부모
커밋
6553be524f
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      pynecone/.templates/web/pcversion.txt
  2. 1 1
      pynecone/config.py

+ 1 - 1
pynecone/.templates/web/pcversion.txt

@@ -1 +1 @@
-0.1.15
+0.1.16

+ 1 - 1
pynecone/config.py

@@ -42,7 +42,7 @@ class Config(Base):
     # Backend transport methods.
     backend_transports: Optional[
         constants.Transports
-    ] = constants.Transports.POLLING_WEBSOCKET
+    ] = constants.Transports.WEBSOCKET_POLLING
 
     # List of origins that are allowed to connect to the backend API.
     cors_allowed_origins: Optional[list] = [constants.CORS_ALLOWED_ORIGINS]