Skip to content

Commit

Permalink
fix: timeout milisecond to second
Browse files Browse the repository at this point in the history
  • Loading branch information
DaKingKong committed Jun 24, 2024
1 parent 918fd3f commit ebe34f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ window.addEventListener('message', async (e) => {
platformHostname = platformInfo['platform-info'].hostname;
platform = manifest.platforms[platformName];
if (!!platform.requestConfig?.timeout) {
axios.defaults.timeout = platform.requestConfig.timeout;
axios.defaults.timeout = platform.requestConfig.timeout * 1000;
}
registered = true;
document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({
Expand Down

0 comments on commit ebe34f7

Please sign in to comment.