._.
This commit is contained in:
parent
3bc664d223
commit
eef8ca7762
5
.dockerignore
Normal file
5
.dockerignore
Normal file
@ -0,0 +1,5 @@
|
||||
node_modules
|
||||
npm-debug.log
|
||||
build
|
||||
.dockerignore
|
||||
.git
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -21,3 +21,5 @@
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
.env
|
||||
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["npm", "start"]
|
||||
@ -1,6 +1,6 @@
|
||||
import axios from "axios";
|
||||
|
||||
const API_URL = process.env.REACT_APP_API_URL;
|
||||
const API_URL = process.env.REACT_APP_LOGISTICS_API_URL;
|
||||
|
||||
export const getAuthToken = () => {
|
||||
return localStorage.getItem("token");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user