WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 963fbf5

Browse files
redact UPI HOST
1 parent 6bdd95c commit 963fbf5

File tree

1 file changed

+1
-1
lines changed
  • modules/drivers/component-upi-driver/src

1 file changed

+1
-1
lines changed

modules/drivers/component-upi-driver/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ struct Config {
134134
impl Config {
135135
fn new() -> Self {
136136
Config {
137-
host: "http://34.93.161.62:8030".to_string(),
137+
host: format!("http://{}:8030", env!("UPI_HOST")),
138138
uri: "n8".to_string(),
139139
merchant_id: "INTERNALTESTUAT".to_string(),
140140
channel_id: "INTERNALTESTUATAPP".to_string(),

0 commit comments

Comments
 (0)