Commit b19f319
authored
Repo image path bug fix (#988)
* feat(resolveContent): update path resolution logic
- Add currentFilePath parameter
- Use pathWithoutFilename for prefix
- Adjust function calls to include new param
* fix(resolveContent): correct file path resolution
- Update prefix to replace '/blob/' with '/resolve/'
- Ensure proper handling of content paths
* feat(resolveContent): improve path resolution logic
- Update function parameters for clarity
- Adjust prefix logic for repo summary page
- Use pathname instead of pathWithoutFilename1 parent 8117cb1 commit b19f319
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
8 | 17 | | |
9 | 18 | | |
10 | 19 | | |
| |||
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
38 | | - | |
39 | | - | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
53 | | - | |
| 60 | + | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
| |||
0 commit comments