mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 23:31:26 +00:00
Update rootSaga.js
Fix typo in message
This commit is contained in:
parent
ed56e9c159
commit
38bd947743
@ -73,8 +73,8 @@ function * doToggleRemoteInterceptHttps(flag) {
|
||||
|
||||
function * doToggleRemoteGlobalProxy(flag) {
|
||||
const result = yield call(postJSON, '/api/toggleGlobalProxy', { flag: flag });
|
||||
const windowsMessage = 'Sucessfully turned on, it may take up to 1 min to take effect.';
|
||||
const linuxMessage = 'Sucessfully turned on.';
|
||||
const windowsMessage = 'Successfully turned on, it may take up to 1 min to take effect.';
|
||||
const linuxMessage = 'Successfully turned on.';
|
||||
const turnDownMessage = 'Global proxy has been turned down.';
|
||||
if (isApiSuccess(result)) {
|
||||
const tipMessage = result.isWindows ? windowsMessage : linuxMessage;
|
||||
|
Loading…
x
Reference in New Issue
Block a user