mirror of https://github.com/VueTubeApp/VueTube
debugging features
This commit is contained in:
parent
e1e699f275
commit
613594baea
|
@ -3,11 +3,11 @@ import { Http } from '@capacitor-community/http';
|
||||||
const module = {
|
const module = {
|
||||||
async autoComplete(text, callback) {
|
async autoComplete(text, callback) {
|
||||||
|
|
||||||
const options = {
|
const response = await Http.request({
|
||||||
|
method: 'GET',
|
||||||
url: 'https://suggestqueries-clients6.youtube.com/complete/search',
|
url: 'https://suggestqueries-clients6.youtube.com/complete/search',
|
||||||
params: { client: 'youtube', q: text },
|
params: { client: 'youtube', q: text }
|
||||||
};
|
});
|
||||||
const response = await Http.request(options);
|
|
||||||
callback(response)
|
callback(response)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
cd ../NUXT
|
||||||
|
npm run generate
|
||||||
|
cd ..
|
||||||
|
npx cap sync
|
||||||
|
npx cap open android
|
|
@ -0,0 +1,5 @@
|
||||||
|
cd ../NUXT
|
||||||
|
npm run generate
|
||||||
|
cd ..
|
||||||
|
npx cap sync
|
||||||
|
npx cap open android
|
Loading…
Reference in New Issue