update to new URL

This commit is contained in:
Shihaam Abdul Rahman 2023-05-29 11:14:20 +05:00
parent 1079dd6850
commit 1fb4ebe218
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -11,7 +11,7 @@ use warp::{http::Method, http::Response, hyper::body::Bytes, path::FullPath, Fil
const FOR_COPY: [&'static str; 2] = ["Content-Type", "Cookie"]; const FOR_COPY: [&'static str; 2] = ["Content-Type", "Cookie"];
const BASE: &str = "https://www.bankofmaldives.com.mv/internetbanking/api/"; const BASE: &str = "https://www.bankofmaldives.com.mv";
const ERR: &str = "{ \"code\": 407, \"message\": \"Proxy failed\" }"; const ERR: &str = "{ \"code\": 407, \"message\": \"Proxy failed\" }";
fn get_base_url() -> String { fn get_base_url() -> String {