httpd: Add path property to CodeLocation

For the web client to be able to show file we need to provide
the web client with the file path.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-03-23 11:41:13 +01:00
parent 27ab41bf3a
commit e4020eaea1
+4 -2
View File
@@ -2089,7 +2089,8 @@ mod routes {
"inline": [
{
"location": {
"blob": HEAD,
"blob": "82eb77880c693655bce074e3dbbd9fa711dc018b",
"path": "./README.md",
"commit": HEAD,
"lines": {
"start": 1,
@@ -2148,7 +2149,8 @@ mod routes {
"inline": [
{
"location": {
"blob": HEAD,
"blob": "82eb77880c693655bce074e3dbbd9fa711dc018b",
"path": "./README.md",
"commit": HEAD,
"lines": {
"start": 1,