Prebuild release 1.0 #2
+14
@@ -172,3 +172,17 @@ cython_debug/
|
||||
# PyPI configuration file
|
||||
.pypirc
|
||||
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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* 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) {
|
||||
const options = {
|
||||
|
||||
Reference in New Issue
Block a user