chore: change proxy

This commit is contained in:
PetrichorFun 2026-01-27 15:01:09 +08:00
parent cb249dba87
commit 4ec4d79457
3 changed files with 3 additions and 3 deletions

View File

@ -16,6 +16,6 @@ export const isFirefox = navigator.userAgent.includes('Firefox');
// export const remoteHost = __DEV__ ? '127.0.0.1:8000' : '47.251.4.191:8000';
// export const remoteHost = __DEV__ ? '127.0.0.1:18000' : 'vm8nc3zr-18000.usw2.devtunnels.ms';
export const remoteHost = __DEV__ ? '127.0.0.1:18000' : '47.251.4.191:8000';
export const remoteHost = __DEV__ ? '127.0.0.1:18000' : 'amzplugin.rekeymed.com';
// export const remoteHost = '47.251.4.191:8000';

View File

@ -8,7 +8,7 @@ const keyPairPromise = generateKeyPair();
const publicKeyBase64Promise = keyPairPromise.then(async ({ publicKey }) => exportKey(publicKey));
const httpClient = createAlova({
baseURL: `http://${remoteHost}`,
baseURL: `https://${remoteHost}`,
requestAdapter: adapterFetch(),
timeout: 10000,
statesHook: VueHook,

View File

@ -17,7 +17,7 @@ export class AmazonSearchPageInjector extends BaseInjector {
document.documentElement.clientHeight,
);
await modernScrollTo({ top: h * (0.4 + Math.random() * 0.2), behavior: 'smooth' });
// await modernScrollTo({ top: h * (0.4 + Math.random() * 0.2), behavior: 'smooth' });
if (targetNode || document.readyState === 'complete') {
// await new Promise((resolve) => setTimeout(resolve, ~~(Math.random() * 50) + 250));