to prod
This commit is contained in:
parent
b8ef0ae208
commit
6ef5cb4dc8
@ -16,7 +16,7 @@ function defaultDataResponseProcessor(data) {
|
|||||||
export const API_PATH_MAIN = "https://hostapay.trade/api/v1/";
|
export const API_PATH_MAIN = "https://hostapay.trade/api/v1/";
|
||||||
export const API_PATH_TEST = "https://test.0x000f.ru/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,
|
async function makePost(url, data, options = undefined,
|
||||||
responseProcessor = defaultResponseProcessor,
|
responseProcessor = defaultResponseProcessor,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { SvelteToast } from "@zerodevx/svelte-toast";
|
import { SvelteToast } from "@zerodevx/svelte-toast";
|
||||||
import { onMount } from "svelte";
|
import { onMount } from "svelte";
|
||||||
import "../../app.css";
|
import "../app.css";
|
||||||
import Navbar from "$lib/ui-components/navbar.svelte";
|
import Navbar from "$lib/ui-components/navbar.svelte";
|
||||||
import { checkAuth, checkAuthSync } from "$lib/auth/Auth";
|
import { checkAuth, checkAuthSync } from "$lib/auth/Auth";
|
||||||
import { redirect } from "$lib/tools/url/URLTools";
|
import { redirect } from "$lib/tools/url/URLTools";
|
@ -164,7 +164,7 @@
|
|||||||
showLoadingReceiptShowing = true;
|
showLoadingReceiptShowing = true;
|
||||||
try {
|
try {
|
||||||
const response = await axios.get(
|
const response = await axios.get(
|
||||||
API_PATH_TEST + "loadFile?dispute=" + selectedDispute["order_id"],
|
API_PATH_MAIN + "loadFile?dispute=" + selectedDispute["order_id"],
|
||||||
// "17731",
|
// "17731",
|
||||||
{
|
{
|
||||||
responseType: "blob",
|
responseType: "blob",
|
||||||
@ -341,7 +341,7 @@
|
|||||||
on:click={() => {
|
on:click={() => {
|
||||||
axios
|
axios
|
||||||
.get(
|
.get(
|
||||||
API_PATH_TEST +
|
API_PATH_MAIN +
|
||||||
"loadFile?dispute=" +
|
"loadFile?dispute=" +
|
||||||
selectedDispute["order_id"],
|
selectedDispute["order_id"],
|
||||||
{
|
{
|
@ -525,7 +525,7 @@
|
|||||||
on:click={() => {
|
on:click={() => {
|
||||||
axios
|
axios
|
||||||
.get(
|
.get(
|
||||||
API_PATH_TEST +
|
API_PATH_MAIN +
|
||||||
"admin/loadFile?payout=" +
|
"admin/loadFile?payout=" +
|
||||||
selectedPayout["uuid"],
|
selectedPayout["uuid"],
|
||||||
{
|
{
|
Loading…
x
Reference in New Issue
Block a user