This commit is contained in:
you 2024-11-19 20:50:30 +03:00
parent b8ef0ae208
commit 6ef5cb4dc8
22 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ function defaultDataResponseProcessor(data) {
export const API_PATH_MAIN = "https://hostapay.trade/api/v1/";
export const API_PATH_TEST = "https://test.0x000f.ru/api/v1/";
let BasicURLValue = API_PATH_TEST;
let BasicURLValue = API_PATH_MAIN;
async function makePost(url, data, options = undefined,
responseProcessor = defaultResponseProcessor,

View File

@ -1,7 +1,7 @@
<script>
import { SvelteToast } from "@zerodevx/svelte-toast";
import { onMount } from "svelte";
import "../../app.css";
import "../app.css";
import Navbar from "$lib/ui-components/navbar.svelte";
import { checkAuth, checkAuthSync } from "$lib/auth/Auth";
import { redirect } from "$lib/tools/url/URLTools";

View File

@ -164,7 +164,7 @@
showLoadingReceiptShowing = true;
try {
const response = await axios.get(
API_PATH_TEST + "loadFile?dispute=" + selectedDispute["order_id"],
API_PATH_MAIN + "loadFile?dispute=" + selectedDispute["order_id"],
// "17731",
{
responseType: "blob",
@ -341,7 +341,7 @@
on:click={() => {
axios
.get(
API_PATH_TEST +
API_PATH_MAIN +
"loadFile?dispute=" +
selectedDispute["order_id"],
{

View File

@ -525,7 +525,7 @@
on:click={() => {
axios
.get(
API_PATH_TEST +
API_PATH_MAIN +
"admin/loadFile?payout=" +
selectedPayout["uuid"],
{