Update app API

This commit is contained in:
IgorVolochay
2026-08-13 11:45:06 +03:00
parent 9327ac53eb
commit 4f152d8f99
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -172,3 +172,17 @@ cython_debug/
# PyPI configuration file # PyPI configuration file
.pypirc .pypirc
app/.env app/.env
# Node.js and React
node_modules/
build/
dist/
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.eslintcache
.DS_Store
+1 -1
View File
@@ -3,7 +3,7 @@
* All endpoints return { result, error } (BaseResponse). * All endpoints return { result, error } (BaseResponse).
*/ */
const BASE_URL = process.env.REACT_APP_API_URL || ''; const BASE_URL = process.env.REACT_APP_API_URL || '/api';
async function request(method, path, body = null) { async function request(method, path, body = null) {
const options = { const options = {