Rollback api address and remove mimalloc

This commit is contained in:
2026-08-13 11:56:25 +03:00
parent a21fd5e69b
commit a5bcfe0b1d
5 changed files with 20 additions and 38 deletions
+4 -4
View File
@@ -1,11 +1,11 @@
use crate::dictionary::app_data_dir;
use std::io;
use tokio::fs::{File, OpenOptions};
use tokio::io::{AsyncReadExt, AsyncWriteExt, BufReader};
use tokio::io::{AsyncReadExt, AsyncWriteExt};
use zstd::{Decoder, Encoder, DEFAULT_COMPRESSION_LEVEL};
use crate::dictionary::app_data_dir;
const API_URL: &str = "http://127.0.0.1:8089/";
// const API_URL: &str = "https://learning.micialware.ru/";
// const API_URL: &str = "http://127.0.0.1:8089/";
const API_URL: &str = "https://learning.micialware.ru/";
pub async fn send_data(id: String) {
let path = app_data_dir();