Commit 6b8c06f
committed
refactor(index.php): improve URI handling for self-update endpoint
- Updated the logic to parse the request URI and remove trailing slashes for consistent comparison.
- Enhanced the condition to check for the '/self-update' path, improving code clarity and maintainability.1 parent 4325b04 commit 6b8c06f
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
0 commit comments