GNServer 0.0.0.0.4__tar.gz → 0.0.0.0.5__tar.gz
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-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/GNServer/_app.py +2 -2
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/GNServer.egg-info/PKG-INFO +1 -1
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/PKG-INFO +1 -1
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/setup.py +1 -1
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/GNServer/__init__.py +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/GNServer.egg-info/SOURCES.txt +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/GNServer.egg-info/dependency_links.txt +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/GNServer.egg-info/requires.txt +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/GNServer.egg-info/top_level.txt +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/LICENSE +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/GNServer/mmbConfig.json +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/LICENSE +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/MANIFEST.in +0 -0
- {gnserver-0.0.0.0.4 → gnserver-0.0.0.0.5}/setup.cfg +0 -0
@@ -278,7 +278,7 @@ class App:
|
|
278
278
|
|
279
279
|
|
280
280
|
def static(self, path: str, dir_path: str):
|
281
|
-
@self.get(f"
|
281
|
+
@self.get(f"{path}/{{_path:path}}")
|
282
282
|
async def r_static(_path: str):
|
283
283
|
file_path = os.path.join(dir_path, _path)
|
284
284
|
if not os.path.isfile(file_path):
|
@@ -415,7 +415,7 @@ class App:
|
|
415
415
|
|
416
416
|
|
417
417
|
self._quic.send_stream_data(request.stream_id, response.serialize(3), end_stream=True)
|
418
|
-
logger.debug(f'Отправлен на сервер ответ -> {response.command()} {response.payload if len(response.payload) < 200 else ''}')
|
418
|
+
logger.debug(f'Отправлен на сервер ответ -> {response.command()} {response.payload if response.payload and len((response.payload)) < 200 else ''}')
|
419
419
|
self.transmit()
|
420
420
|
except Exception as e:
|
421
421
|
logger.error('GNServer: error\n' + traceback.format_exc())
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|