mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-07 00:41:50 +00:00
display path on 404
This commit is contained in:
parent
d7c2f27749
commit
2b00292bfe
1 changed files with 1 additions and 1 deletions
|
|
@ -3840,7 +3840,7 @@ Change Mode<br>
|
|||
if response_body is None:
|
||||
self.send_response(404)
|
||||
self.end_headers(content_type='text/html')
|
||||
rp = 'Error: KoboldCpp HTTP Server is running, but this endpoint does not exist. Please check the URL.'
|
||||
rp = f"Error: KoboldCpp HTTP Server is running, but this endpoint does not exist. Please check the URL.<br>Current path: {self.path}"
|
||||
self.wfile.write(rp.encode())
|
||||
else:
|
||||
self.send_response(200)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue