Skip to content

Commit 3846ac5

Browse files
authored
chore(feeds): Fallback no catalog rendering for any /catalog.xml route
1 parent 6489005 commit 3846ac5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/feeds/src/firebase/serve-feeds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const serveFeeds = async (req: Request, res: Response) => {
118118
await proxyGithubApi(req, res);
119119
break;
120120
}
121-
if (req.path.endsWith('.xml')) {
121+
if (req.path.endsWith('/catalog.xml')) {
122122
await renderCatalog(req, res, products);
123123
break;
124124
}

0 commit comments

Comments
 (0)