forked from shihaam/bml-proxy
fix(main): add double quotes to json keys
This commit is contained in:
parent
699c3c07b1
commit
7a493cdce3
@ -12,7 +12,7 @@ use warp::{http::Method, hyper::body::Bytes, path::FullPath, Filter};
|
||||
const FOR_COPY: [&'static str; 1] = ["Content-Type"];
|
||||
|
||||
const BASE: &str = "https://www.bankofmaldives.com.mv/internetbanking/api/";
|
||||
const ERR: &str = "{ code: 407, message: \"Proxy failed\" }";
|
||||
const ERR: &str = "{ \"code\": 407, \"message\": \"Proxy failed\" }";
|
||||
|
||||
fn get_base_url() -> String {
|
||||
match var("BML_PROXY_BASE") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user