Skip to content

Commit 491b2af

Browse files
author
Łukasz Gąsior
authored
Merge pull request #447 from input-output-hk/feature/fix-testnet-config
Fix testnet config
2 parents 8f4961a + 37bd0da commit 491b2af

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

src/universal/conf/private-testnet.conf

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,23 @@ mantis {
4848
}
4949

5050
rpc {
51-
# JSON-RPC mode
52-
# Available modes are: http, https
53-
# Choosing https requires creating a certificate and setting up 'certificate-keystore-path' and
54-
# 'certificate-password-file'
55-
# See: https://github.com/input-output-hk/mantis/wiki/Creating-self-signed-certificate-for-using-JSON-RPC-with-HTTPS
56-
mode = "http"
57-
58-
# Listening address of JSON-RPC HTTP/HTTPS endpoint
59-
interface = ${mantis.network.server-address.interface}
60-
61-
# Listening port of JSON-RPC HTTP/HTTPS endpoint
62-
# port = 8546
63-
64-
# Domains allowed to query RPC endpoint. Use "*" to enable requests from any domain.
65-
cors-allowed-origins = "*"
51+
http {
52+
# JSON-RPC mode
53+
# Available modes are: http, https
54+
# Choosing https requires creating a certificate and setting up 'certificate-keystore-path' and
55+
# 'certificate-password-file'
56+
# See: https://github.com/input-output-hk/mantis/wiki/Creating-self-signed-certificate-for-using-JSON-RPC-with-HTTPS
57+
mode = "http"
58+
59+
# Listening address of JSON-RPC HTTP/HTTPS endpoint
60+
interface = ${mantis.network.server-address.interface}
61+
62+
# Listening port of JSON-RPC HTTP/HTTPS endpoint
63+
# port = 8546
64+
65+
# Domains allowed to query RPC endpoint. Use "*" to enable requests from any domain.
66+
cors-allowed-origins = "*"
67+
}
6668
}
6769
}
6870

0 commit comments

Comments
 (0)