mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 03:40:37 +08:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user