Use MediaElementWebAudio for audioPlayer #189

This commit is contained in:
Prayag Prajapati committed 2023-10-08 15:13:30 +05:30
1 parent 8c9e5aec18
commit a4ec70d44c
4 files changed
+57 -50

No files matched your search

+3 -2
View File
@@ -96,7 +96,8 @@ import PlaylistTitlePage from "./routes/playlist/index.jsx";
// Initial custom axios client to use tauri's http module
import axios from "axios";
import axiosTauriApiAdapter from "axios-tauri-api-adapter";
const axiosClient = axios.create({
export const axiosClient = axios.create({
adapter: axiosTauriApiAdapter,
headers: { "Access-Control-Allow-Origin": "*" },
timeout: 60000,
@@ -217,7 +218,7 @@ function App() {
const pingServer = async () => {
const server = await getServer();
try {
const result = await axios.get(
const result = await axiosClient.get(
new URL(`${server.Ip}/System/Ping`).href,
);