diff --git a/backend/src/api/blocks.ts b/backend/src/api/blocks.ts index 590fbc57d..633e797d1 100644 --- a/backend/src/api/blocks.ts +++ b/backend/src/api/blocks.ts @@ -181,7 +181,8 @@ class Blocks { const regexes: string[] = JSON.parse(pools[i].regexes); for (let y = 0; y < regexes.length; ++y) { - const match = asciiScriptSig.match(regexes[y]); + const regex = new RegExp(regexes[y], 'i'); + const match = asciiScriptSig.match(regex); if (match !== null) { return pools[i]; } diff --git a/frontend/src/app/components/docs/api-docs-data.ts b/frontend/src/app/components/docs/api-docs-data.ts index 3e7d442c7..49b020ead 100644 --- a/frontend/src/app/components/docs/api-docs-data.ts +++ b/frontend/src/app/components/docs/api-docs-data.ts @@ -4582,6 +4582,6 @@ export const faqData = [ showConditions: bitcoinNetworks, fragment: "install-mempool-with-docker", title: "Can I install Mempool using Docker?", - answer: "Yes, we publish Docker images (or you can build your own), and provide an example docker-compose template." + answer: "Yes, we publish Docker images (or you can build your own). Check out the documentation for details." } ];