summaryrefslogtreecommitdiff
path: root/exes/rest/src/handler.rs
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-14 20:27:13 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-14 20:27:13 +0400
commit64f83235c128772bc6296eaf6e6a261f35535f6f (patch)
tree38a8a8973d3982f6434cdf50d61619b6016f47cf /exes/rest/src/handler.rs
parent24832713ade0852e77f2de01cd824c34fc63fff3 (diff)
build for more platforms
Diffstat (limited to 'exes/rest/src/handler.rs')
-rw-r--r--exes/rest/src/handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exes/rest/src/handler.rs b/exes/rest/src/handler.rs
index ab158fe..f053af7 100644
--- a/exes/rest/src/handler.rs
+++ b/exes/rest/src/handler.rs
@@ -58,7 +58,7 @@ pub async fn handle_request(
let request_path = request.uri().path();
let (api_path, trimmed_path) = normalize_path(request_path);
- let mut uri_string = format!("http://127.0.0.1:9999{api_path}{trimmed_path}");
+ let mut uri_string = format!("https://discord.com{api_path}{trimmed_path}");
if let Some(query) = request.uri().query() {
uri_string.push('?');
uri_string.push_str(query);