dev #77
@@ -1506,7 +1506,13 @@ export class PL24Service {
|
||||
}
|
||||
|
||||
private isP4LegacyPath(linkPath: string): boolean {
|
||||
return linkPath.includes(".action");
|
||||
// PSA (Citroen/Peugeot/DS) leaf paths — json-illustrations.action and
|
||||
// image-board.action — also contain ".action" but MUST route to the
|
||||
// dedicated PSA handlers (fetchPsaIllustrations / fetchPsaParts), not the
|
||||
// Ford/Fiat legacy parser. Without this /psa/ guard, the broad ".action"
|
||||
// match here shadows the PSA dispatch in fetchSubGroupsByPath /
|
||||
// fetchPartsByPath, so every PSA drill below main-group level returns empty.
|
||||
return linkPath.includes(".action") && !linkPath.includes("/psa/");
|
||||
}
|
||||
|
||||
private isPsaPath(linkPath: string): boolean {
|
||||
|
||||
Reference in New Issue
Block a user