接口地址有错误

This commit is contained in:
Jerry Yan 2023-01-05 19:36:55 +08:00
parent 48320a2202
commit ea2a75d39b
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import PickleComplate from "../vendor/picomplete/picomplete";
}; };
let local_data_string = window.localStorage.getItem("append_broadcast_list"); let local_data_string = window.localStorage.getItem("append_broadcast_list");
if (!local_data_string) { if (!local_data_string) {
return fetch("/programs/construct/append/broadcast_list", { return fetch("/construct/programs/append/broadcast_list", {
"method": "GET", "method": "GET",
}).then((response) => response.json()).then((data) => { }).then((response) => response.json()).then((data) => {
window.localStorage.setItem("append_broadcast_list", JSON.stringify(data)); window.localStorage.setItem("append_broadcast_list", JSON.stringify(data));

View File

@ -10,7 +10,7 @@ import PickleComplate from "../vendor/picomplete/picomplete";
}; };
let local_data_string = window.localStorage.getItem("append_from_list"); let local_data_string = window.localStorage.getItem("append_from_list");
if (!local_data_string) { if (!local_data_string) {
return fetch("/programs/construct/append/from_list", { return fetch("/construct/programs/append/from_list", {
"method": "GET", "method": "GET",
}).then((response) => response.json()).then((data) => { }).then((response) => response.json()).then((data) => {
window.localStorage.setItem("append_from_list", JSON.stringify(data)); window.localStorage.setItem("append_from_list", JSON.stringify(data));