Skip to content

Commit

Permalink
[refactor] updated port for some code-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenjj authored Apr 11, 2022
1 parent 81d2aa2 commit 7a3c170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content-by-language/java/outbound-integration.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class OutboundIntegration {
public static void main(String[] args) throws IOException, InterruptedException, GeneralSecurityException {
System.setProperty("jdk.http.auth.tunneling.disabledSchemes", "");
final String proxyHost = "{VAULT_HOST}";
final var proxyPort = {PORT};
final var proxyPort = {SECURE_PORT};
final String proxyUser = "{USERNAME}";
final String proxyPassword = "{PASSWORD}";

Expand Down
2 changes: 1 addition & 1 deletion content-by-language/node/outbound-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async function getData() {
ca: [ fs.readFileSync('{CERT_LOCATION}')],
proxy: {
host: '{VAULT_HOST}',
port: '{PORT}',
port: '{SECURE_PORT}',
proxyAuth: '{ACCESS_CREDENTIALS}'
}
});
Expand Down

0 comments on commit 7a3c170

Please sign in to comment.