fix: FC base_path

pull/128/head
qkqpttgf 2020-09-22 19:41:50 +08:00 committed by GitHub
parent 0d408f208e
commit b8095a38b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ function handler($event, $context)
$tmp = array( $tmp = array(
'method' => $event->getMethod(), 'method' => $event->getMethod(),
'clientIP' => $event->getAttribute("clientIP"), 'clientIP' => $event->getAttribute("clientIP"),
'eventURI' => $event->getAttribute("eventURI"), 'requestURI' => $event->getAttribute("requestURI"),
'path' => spurlencode($event->getAttribute("path"), '/'), 'path' => spurlencode($event->getAttribute("path"), '/'),
'queryString' => $event->getQueryParams(), 'queryString' => $event->getQueryParams(),
'headers' => $event->getHeaders(), 'headers' => $event->getHeaders(),