Update scf.php

pull/41/head
qkqpttgf 2020-03-27 11:19:55 +08:00 committed by GitHub
parent 3b2251fe82
commit 0cfccddc4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -152,8 +152,6 @@ function install()
$response = json_decode(SetbaseConfig($tmp, $_SERVER['function_name'], $_SERVER['Region'], $_SERVER['namespace'], $SecretId, $SecretKey), true)['Response'];
if (api_error($response)) {
$html = api_error_msg($response);
$html .= '<br>
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
$title = 'Error';
return message($html, $title, 201);
} else {