cluster/services/ipfs: simplify regex
This commit is contained in:
parent
b60a1cd5a2
commit
07544555c7
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue