From 6e5447110264b9850a70732eb65a0f9f1128dad6 Mon Sep 17 00:00:00 2001 From: Doctor Delpy Date: Mon, 22 Dec 2025 14:17:05 +0300 Subject: [PATCH] migrate root server --- README.md | 4 ++-- src/app/providers/index.tsx | 2 +- src/pages/admin/sections/Overview.tsx | 7 +++++++ src/shared/services/admin/index.ts | 1 + src/shared/services/content/index.ts | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 008c8b8..6576dc5 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ This template provides a minimal setup to get React working in Vite with HMR and Copy `.env.example` to `.env` (or provide the same variables through your deployment system) and adjust the URLs if needed. All frontend traffic (админка, загрузка, просмотр) завязан на `VITE_API_BASE_URL`, поэтому указывайте полный путь до `/api/v1` нужной ноды. ``` -VITE_API_BASE_URL=https://my-public-node-8.projscale.dev/api/v1 +VITE_API_BASE_URL=https://my-public-node-103.projscale.dev/api/v1 ``` -При таком значении фронт автоматически отправляет tus-запросы на `https://my-public-node-8.projscale.dev/tus/files`, а прогрессивные загрузки (обложки, метаданные) — на `https://my-public-node-8.projscale.dev/api/v1.5/storage`. +При таком значении фронт автоматически отправляет tus-запросы на `https://my-public-node-103.projscale.dev/tus/files`, а прогрессивные загрузки (обложки, метаданные) — на `https://my-public-node-103.projscale.dev/api/v1.5/storage`. Currently, two official plugins are available: diff --git a/src/app/providers/index.tsx b/src/app/providers/index.tsx index 9bce60c..ec8c384 100644 --- a/src/app/providers/index.tsx +++ b/src/app/providers/index.tsx @@ -14,7 +14,7 @@ export const Providers = ({ children }: ProvidersProps) => { diff --git a/src/pages/admin/sections/Overview.tsx b/src/pages/admin/sections/Overview.tsx index d08a9e0..e4557e5 100644 --- a/src/pages/admin/sections/Overview.tsx +++ b/src/pages/admin/sections/Overview.tsx @@ -45,6 +45,13 @@ export const AdminOverviewPage = () => { copyValue: node.service_wallet ?? null, successMessage: "Service wallet скопирован", }, + { + label: "Highload Wallet", + value: node.highload_wallet ?? "—", + helper: "Высоконагрузочный", + copyValue: node.highload_wallet ?? null, + successMessage: "Highload wallet скопирован", + }, { label: "Контент", value: `${numberFormatter.format(content.encrypted_total)} зашифр.`, diff --git a/src/shared/services/admin/index.ts b/src/shared/services/admin/index.ts index d5ffedb..028b459 100644 --- a/src/shared/services/admin/index.ts +++ b/src/shared/services/admin/index.ts @@ -29,6 +29,7 @@ export type AdminOverviewResponse = { id: string; service_wallet: string; ton_master: string; + highload_wallet: string | null; }; runtime: { python: string; diff --git a/src/shared/services/content/index.ts b/src/shared/services/content/index.ts index 23fa10f..fa3f203 100644 --- a/src/shared/services/content/index.ts +++ b/src/shared/services/content/index.ts @@ -4,7 +4,7 @@ import { request } from "~/shared/libs"; import { Royalty } from "~/shared/stores/root"; const VIEW_CONTENT_NODE_ORIGINS = [ - "https://my-public-node-8.projscale.dev", + "https://my-public-node-103.projscale.dev", "https://my-public-node-7.projscale.dev", "https://my-public-node-9.projscale.dev", "https://my-public-node-10.projscale.dev",