fix url
This commit is contained in:
@@ -56,7 +56,7 @@ function getlist() {
|
||||
// tableData.value = res
|
||||
// load.close()
|
||||
// })
|
||||
axios.get("http://127.0.0.1:3050/getQqList", {
|
||||
axios.get("/getQqList", {
|
||||
params: { url: form.value.name }
|
||||
}).then((r) => {
|
||||
tableData.value = r.data
|
||||
@@ -94,7 +94,7 @@ async function dow() {
|
||||
|
||||
localStorage.setItem("save",form.value.save)
|
||||
for (let i of list) {
|
||||
await axios.get("http://127.0.0.1:3050/startDown", {
|
||||
await axios.get("/startDown", {
|
||||
params: {
|
||||
...i,
|
||||
save: form.value.save + "/" + i.title.split(" ")[0]
|
||||
@@ -108,7 +108,7 @@ async function dow() {
|
||||
type: 'success',
|
||||
})
|
||||
}
|
||||
const source = new EventSource(`http://127.0.0.1:3050/msg`);
|
||||
const source = new EventSource(`/msg`);
|
||||
source.onmessage = event => {
|
||||
// 挂到载体上面
|
||||
if (msg.value.length > 200) {
|
||||
|
||||
Reference in New Issue
Block a user