更换服务器域名
parent
0ca703a43b
commit
bc29110981
|
@ -122,7 +122,7 @@
|
||||||
el: "#app",
|
el: "#app",
|
||||||
data() {
|
data() {
|
||||||
const ajax = axios.create({
|
const ajax = axios.create({
|
||||||
baseURL: 'http://www.amuliang.top:5750',
|
baseURL: 'http://musicdlr.amuliang.top:5750',
|
||||||
//baseURL: 'http://localhost:5000',
|
//baseURL: 'http://localhost:5000',
|
||||||
timeout: 10000,
|
timeout: 10000,
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
@ -7,5 +7,5 @@ wait
|
||||||
|
|
||||||
# 运行前端页面
|
# 运行前端页面
|
||||||
cd /music-downloader/html
|
cd /music-downloader/html
|
||||||
echo "run html, localhost:8080"
|
echo "run html, localhost:5780"
|
||||||
http-server -p 8080
|
http-server -p 5780
|
|
@ -7,5 +7,5 @@ npm install
|
||||||
wait
|
wait
|
||||||
|
|
||||||
# 运行服务器端
|
# 运行服务器端
|
||||||
echo "run server, localhost:5000"
|
echo "run server, localhost:5750"
|
||||||
node /music-downloader/app/main.js
|
node /music-downloader/app/main.js
|
Loading…
Reference in New Issue