diff --git a/html/index.html b/html/index.html index 57e6cec..45698c7 100644 --- a/html/index.html +++ b/html/index.html @@ -122,7 +122,7 @@ el: "#app", data() { const ajax = axios.create({ - baseURL: 'http://www.amuliang.top:5750', + baseURL: 'http://musicdlr.amuliang.top:5750', //baseURL: 'http://localhost:5000', timeout: 10000, headers: { diff --git a/start/html.sh b/start/html.sh index 65dbb10..ec9a47b 100644 --- a/start/html.sh +++ b/start/html.sh @@ -7,5 +7,5 @@ wait # 运行前端页面 cd /music-downloader/html -echo "run html, localhost:8080" -http-server -p 8080 \ No newline at end of file +echo "run html, localhost:5780" +http-server -p 5780 \ No newline at end of file diff --git a/start/server.sh b/start/server.sh index 9884db9..c41921a 100644 --- a/start/server.sh +++ b/start/server.sh @@ -7,5 +7,5 @@ npm install wait # 运行服务器端 -echo "run server, localhost:5000" +echo "run server, localhost:5750" node /music-downloader/app/main.js \ No newline at end of file