summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-06-09 20:11:49 -0400
committerLLLL Colonq <llll@colonq>2025-06-09 20:11:49 -0400
commit1a42ce99f0a447c3e83caf8042073e11e105b846 (patch)
treecf0909ec9fd19c209149285e35cbfd079ff6c17e
parente97c890fb61cf2951231f6fd2f6f49911cdb8837 (diff)
Fix URLs
-rw-r--r--crates/teleia/src/context.rs8
-rw-r--r--crates/teleia/src/helpers.js4
2 files changed, 6 insertions, 6 deletions
diff --git a/crates/teleia/src/context.rs b/crates/teleia/src/context.rs
index c633da9..56494dc 100644
--- a/crates/teleia/src/context.rs
+++ b/crates/teleia/src/context.rs
@@ -145,16 +145,16 @@ impl Context {
#[cfg(target_arch = "wasm32")]
pub fn bundt_api_server(&self) -> String { js_bundt_api_server() }
#[cfg(all(not(target_arch = "wasm32"), debug_assertions))]
- pub fn bundt_api_server(&self) -> String { "http://localhost:8080/api".to_owned() }
+ pub fn bundt_api_server(&self) -> String { "http://localhost:8000/api".to_owned() }
#[cfg(all(not(target_arch = "wasm32"), not(debug_assertions)))]
- pub fn bundt_api_server(&self) -> String { "http://api.colonq.computer/api".to_owned() }
+ pub fn bundt_api_server(&self) -> String { "https://api.colonq.computer/api".to_owned() }
#[cfg(target_arch = "wasm32")]
pub fn bundt_secure_api_server(&self) -> String { js_bundt_secure_api_server() }
#[cfg(all(not(target_arch = "wasm32"), debug_assertions))]
- pub fn bundt_secure_api_server(&self) -> String { "http://localhost:8080/api".to_owned() }
+ pub fn bundt_secure_api_server(&self) -> String { "http://localhost:8000/api".to_owned() }
#[cfg(all(not(target_arch = "wasm32"), not(debug_assertions)))]
- pub fn bundt_secure_api_server(&self) -> String { "http://secure.colonq.computer/api".to_owned() }
+ pub fn bundt_secure_api_server(&self) -> String { "https://secure.colonq.computer/api".to_owned() }
pub fn clear_color(&self, color: glam::Vec4) {
unsafe {
diff --git a/crates/teleia/src/helpers.js b/crates/teleia/src/helpers.js
index 881064b..fb2a1a0 100644
--- a/crates/teleia/src/helpers.js
+++ b/crates/teleia/src/helpers.js
@@ -13,9 +13,9 @@ export function js_poll_resized() {
}
export function js_bundt_api_server() {
- return globalThis.apiServer || "http://localhost:8080/api";
+ return globalThis.apiServer || "http://localhost:8000/api";
}
export function js_bundt_secure_api_server() {
- return globalThis.secureApiServer || "http://localhost:8080/api";
+ return globalThis.secureApiServer || "http://localhost:8000/api";
}