cluster/services/ipfs: simplify regex

This commit is contained in:
Max Headroom 2023-11-02 23:59:02 +01:00
parent b60a1cd5a2
commit 07544555c7

View file

@ -52,11 +52,11 @@
dns.records = { dns.records = {
p2p.consulService = "ipfs-gateway"; p2p.consulService = "ipfs-gateway";
".*\\.ipfs" = { "\\.ipfs" = {
consulService = "ipfs-gateway"; consulService = "ipfs-gateway";
rewrite.type = "regex"; rewrite.type = "regex";
}; };
".*\\.ipns" = { "\\.ipns" = {
consulService = "ipfs-gateway"; consulService = "ipfs-gateway";
rewrite.type = "regex"; rewrite.type = "regex";
}; };