From 5e1c93ac995da05094202bc15d6076e72768b299 Mon Sep 17 00:00:00 2001 From: wzhqwq Date: Mon, 26 Jul 2021 01:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BD=91=E7=BB=9C=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E4=BD=86=E6=B2=A1=E6=9C=89=E5=81=9A=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=80=BB=E8=BE=91=E3=80=81=E5=BC=BA=E5=88=B6=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=80=BB=E8=BE=91=E3=80=81=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/env.example.json | 2 +- src/upload/upload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/env.example.json b/src/env.example.json index 4576918..3197d5b 100644 --- a/src/env.example.json +++ b/src/env.example.json @@ -1,3 +1,3 @@ { - "backEndBaseURL": "localhost:9444" + "backEndBaseURL": "http://localhost:9444" } \ No newline at end of file diff --git a/src/upload/upload.js b/src/upload/upload.js index b6dafd4..c5df44e 100644 --- a/src/upload/upload.js +++ b/src/upload/upload.js @@ -2,7 +2,7 @@ import { Component } from 'react'; import Dropzone from 'react-dropzone'; import Spinner from '../components/Spinner/Spinner'; import UploadUnit from '../components/UploadUnit/UploadUnit'; -import { post } from 'axios'; +import { post } from '../helper/axios'; import { apis } from '../helper/apis'; import './upload.css';