瀏覽代碼

change api url

SyuanYu 3 月之前
父節點
當前提交
d8aa9065fa
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      frontend/src/views/main/AiArticle.vue

+ 2 - 1
frontend/src/views/main/AiArticle.vue

@@ -8,7 +8,8 @@ let loading = ref(false);
 
 async function getArticle() {
   loading.value = true;
-  let url = `https://cmm.ai:8084/get_article3?kw=${articleKw.value}`;
+  // let url = `https://cmm.ai:8084/get_article3?kw=${articleKw.value}`;
+  let url = `https://cmm.ai:8081/local_qa/?kw=${articleKw.value}`;
 
   try {
     let response = await axios.get(url);