Parcourir la source

change api url

SyuanYu il y a 3 mois
Parent
commit
d8aa9065fa
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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);