更换服务器域名

main
amuliang 2023-08-04 00:10:44 +08:00
parent 0ca703a43b
commit bc29110981
3 changed files with 4 additions and 4 deletions

View File

@ -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: {

View File

@ -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

View File

@ -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