GNServer 0.0.0.0.46__py3-none-any.whl → 0.0.0.0.47__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
GNServer/_app.py CHANGED
@@ -293,7 +293,7 @@ class App:
293
293
 
294
294
 
295
295
  def _init_sys_routes(self):
296
- @self.post('/!gn-vm-host/ping', cors=CORSObject())
296
+ @self.post('/!gn-vm-host/ping', cors=CORSObject(allow_client_types=['server']))
297
297
  async def r_ping(request: GNRequest):
298
298
  if request.client.ip != '127.0.0.1':
299
299
  raise AllGNFastCommands.Forbidden()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: GNServer
3
- Version: 0.0.0.0.46
3
+ Version: 0.0.0.0.47
4
4
  Summary: GNServer
5
5
  Home-page: https://github.com/KeyisB/libs/tree/main/GNServer
6
6
  Author: KeyisB
@@ -1,13 +1,13 @@
1
1
  GNServer/__init__.py,sha256=6CMCZlkBO74PW8i8DAri5xz2fYM9EyPH8vdsLYBMmOo,1560
2
- GNServer/_app.py,sha256=4JCz2-MDKPbzu45iB8tYarYnfr1lP02B0KOrC1sSBP8,17489
2
+ GNServer/_app.py,sha256=p9TNz6m3eNiRw4g66iilZydqad73e9FcmtLusTP3nJU,17518
3
3
  GNServer/_client.py,sha256=MNNnBl1u9OAafIzDnOz3aYgcJUg8QizEV8QDFdGy8LQ,32071
4
4
  GNServer/_cors_resolver.py,sha256=aDxk4ItaEK-6vlDbkno8FJZEjczGEe8vkOui6_kz5-Y,5950
5
5
  GNServer/_crt.py,sha256=SOmyX7zBiCY9EhVSekksQtBHgTIZVvdqNZ8Ni-E5Zow,1390
6
6
  GNServer/_func_params_validation.py,sha256=pDXRzPVTdPnDHFMMmKd014SConBjFOuaLeJTY0vldlM,11412
7
7
  GNServer/_routes.py,sha256=bJnmQ8uEhPVQgy2tTqE5TEIM8aFXV-lVI7c2nG0rQwk,3384
8
8
  GNServer/_template_resolver.py,sha256=vdJYb_7PjIeTWq-Clr7jyj7QIvPBxplU7EqeOuMJ64c,1409
9
- gnserver-0.0.0.0.46.dist-info/licenses/LICENSE,sha256=_rN-sb3LemR3cKsEqjJRdXkdt7mME1mkW1BwWEn-zAw,1309
10
- gnserver-0.0.0.0.46.dist-info/METADATA,sha256=DqryQQB6rgpEB2I4zx-nZ7lqjG6PhFD5lASpHFcIds0,830
11
- gnserver-0.0.0.0.46.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- gnserver-0.0.0.0.46.dist-info/top_level.txt,sha256=-UOUBuD4u7Qkb1o5PdcwyA3kx8xCH2lwy0tJHi26Wb4,9
13
- gnserver-0.0.0.0.46.dist-info/RECORD,,
9
+ gnserver-0.0.0.0.47.dist-info/licenses/LICENSE,sha256=_rN-sb3LemR3cKsEqjJRdXkdt7mME1mkW1BwWEn-zAw,1309
10
+ gnserver-0.0.0.0.47.dist-info/METADATA,sha256=r9-LTxLBcALai6o3aSp1bCvajalgSAr4uHkt2s_bvmI,830
11
+ gnserver-0.0.0.0.47.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ gnserver-0.0.0.0.47.dist-info/top_level.txt,sha256=-UOUBuD4u7Qkb1o5PdcwyA3kx8xCH2lwy0tJHi26Wb4,9
13
+ gnserver-0.0.0.0.47.dist-info/RECORD,,