debugging features

This commit is contained in:
Front 2022-02-26 14:35:36 -05:00
parent e1e699f275
commit 613594baea
3 changed files with 14 additions and 4 deletions

View File

@ -3,11 +3,11 @@ import { Http } from '@capacitor-community/http';
const module = {
async autoComplete(text, callback) {
const options = {
const response = await Http.request({
method: 'GET',
url: 'https://suggestqueries-clients6.youtube.com/complete/search',
params: { client: 'youtube', q: text },
};
const response = await Http.request(options);
params: { client: 'youtube', q: text }
});
callback(response)
}

5
scripts/build.bat Normal file
View File

@ -0,0 +1,5 @@
cd ../NUXT
npm run generate
cd ..
npx cap sync
npx cap open android

5
scripts/build.sh Normal file
View File

@ -0,0 +1,5 @@
cd ../NUXT
npm run generate
cd ..
npx cap sync
npx cap open android