update default API endpoint address string
This commit is contained in:
@@ -9,7 +9,7 @@ use crate::get_app_handle;
|
|||||||
use super::{AppConfig, ClientConfigError};
|
use super::{AppConfig, ClientConfigError};
|
||||||
|
|
||||||
const CONFIG_FILENAME: &str = "client_config.json";
|
const CONFIG_FILENAME: &str = "client_config.json";
|
||||||
const DEFAULT_API_BASE_URL: &str = "https://api.fdolls.adamcv.com";
|
const DEFAULT_API_BASE_URL: &str = "https://api.friendolls.adamcv.com";
|
||||||
|
|
||||||
fn config_file_path(app_handle: &tauri::AppHandle) -> Result<PathBuf, ClientConfigError> {
|
fn config_file_path(app_handle: &tauri::AppHandle) -> Result<PathBuf, ClientConfigError> {
|
||||||
let dir = app_handle
|
let dir = app_handle
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
<input
|
<input
|
||||||
class="input input-bordered"
|
class="input input-bordered"
|
||||||
bind:value={form.api_base_url}
|
bind:value={form.api_base_url}
|
||||||
placeholder="https://api.fdolls.adamcv.com"
|
placeholder="https://api.friendolls.adamcv.com"
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user