Go to file
Doctor Delpy 37d6eda1cf try optimize setup 2025-12-22 18:15:51 +03:00
public fix favicon, page title 2025-03-07 10:29:25 +03:00
src try optimize setup 2025-12-22 18:15:51 +03:00
.gitignore sentry env modes, /viewContent disconnect button, env 2025-02-18 22:25:15 +06:00
.prettierrc.json prettier config, dwnld button, dwnld content, chain login > purchase, selectWallet post in useAuth 2025-03-16 20:38:43 +06:00
Dockerfile Dockerfile 2025-08-22 09:48:05 +03:00
README.md migrate root server 2025-12-22 14:17:05 +03:00
index.html fix favicon, page title 2025-03-07 10:29:25 +03:00
nginx.conf fix nginx config 2025-08-23 21:16:17 +03:00
package-lock.json new version with admin 2025-09-26 12:21:27 +03:00
package.json new version with admin 2025-09-26 12:21:27 +03:00
postcss.config.js Locazia: v2.0 (dev beta) 2024-03-04 23:36:45 +03:00
prettier.config.cjs Locazia: v2.0 (dev beta) 2024-03-04 23:36:45 +03:00
tailwind.config.ts tonproof fix, notification 2025-03-28 21:21:38 +06:00
tsconfig.json Locazia: v2.0 (dev beta) 2024-03-04 23:36:45 +03:00
tsconfig.node.json Locazia: v2.0 (dev beta) 2024-03-04 23:36:45 +03:00
vercel.json dev@locazia: mik ver 2024-03-28 01:26:43 +03:00
vite.config.ts tg buttons /viewContent, tags, validation address form and more /uploadContent 2025-02-01 19:17:40 +06:00
yarn.lock update 2025-10-26 11:14:49 +00:00

README.md

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Environment variables

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-103.projscale.dev/api/v1

При таком значении фронт автоматически отправляет 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:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list