fixes for the massive changes we did to the app source code.

This commit is contained in:
ArabCoders 2024-12-15 21:34:28 +03:00
parent 51024c2a9b
commit 70eb27291f
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ jobs:
- name: Update Version File
uses: ArabCoders/write-version-to-file@master
with:
filename: "/app/version.py"
filename: "/app/library/version.py"
placeholder: "dev-master"
- name: Set up QEMU

View file

@ -109,7 +109,7 @@ class HttpAPI(common):
contentType = self.extToMime.get(os.path.splitext(file)[1], MIME.from_file(file))
self.staticHolder[urlPath] = {'content': content, 'content_type': contentType}
LOG.info(f'Preloading: [{urlPath}].')
LOG.debug(f'Preloading: [{urlPath}].')
app.router.add_get(urlPath, self.staticFile)
if urlPath.endswith('/index.html') and urlPath != '/index.html':
@ -186,7 +186,7 @@ class HttpAPI(common):
@route('GET', 'ping')
async def ping(self, _) -> Response:
self.queue.test()
await self.queue.test()
return web.Response(text='pong')
@route('POST', 'add')