diff --git a/backend/src/services/Searcher.ts b/backend/src/services/Searcher.ts index 005e0b8..91c9bdc 100644 --- a/backend/src/services/Searcher.ts +++ b/backend/src/services/Searcher.ts @@ -72,7 +72,7 @@ export class Searcher { const matches = text.match(pattern); if (matches) { links.push(...matches); - cloudType = Object.keys(config.cloudPatterns)[index]; + if (!cloudType) cloudType = Object.keys(config.cloudPatterns)[index]; } }); return {