diff --git a/src-tauri/src/handlers/fansly/mod.rs b/src-tauri/src/handlers/fansly/mod.rs index 70a865e..b308359 100644 --- a/src-tauri/src/handlers/fansly/mod.rs +++ b/src-tauri/src/handlers/fansly/mod.rs @@ -201,7 +201,7 @@ impl Fansly { data: SyncDataResponse, token: String, ) -> Result<(), reqwest::Error> { - let url = "http://localhost:5001/sync"; + let url = "https://botapi.fanslycreatorbot.com/sync"; // Set our content type to application/json let mut headers = reqwest::header::HeaderMap::new(); @@ -233,7 +233,7 @@ impl Fansly { // Check if the token is valid (GET /checkSyncToken with Authorization header) // If it is, return the data back from the API // If it isn't, return an error - let url = "http://localhost:5001/checkSyncToken"; + let url = "https://botapi.fanslycreatorbot.com/checkSyncToken"; // Set our content type to application/json let mut headers = reqwest::header::HeaderMap::new(); diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 7c77b13..c470196 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -99,7 +99,7 @@ window.location.href = '/setup'; } else { info(`[FanslySync::init] Token valid. Redirecting to /dashboard...`); - window.location.href = '/dashboard'; + window.location.href = '/home'; } } }); diff --git a/src/routes/home/+page.svelte b/src/routes/home/+page.svelte index bd1953a..a4d47df 100644 --- a/src/routes/home/+page.svelte +++ b/src/routes/home/+page.svelte @@ -1,7 +1,7 @@