From b8095a38b026c7930cbd4096cfbfbf834610a7c9 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Tue, 22 Sep 2020 19:41:50 +0800 Subject: [PATCH] fix: FC base_path --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 20af99c..5ae7835 100644 --- a/index.php +++ b/index.php @@ -73,7 +73,7 @@ function handler($event, $context) $tmp = array( 'method' => $event->getMethod(), 'clientIP' => $event->getAttribute("clientIP"), - 'eventURI' => $event->getAttribute("eventURI"), + 'requestURI' => $event->getAttribute("requestURI"), 'path' => spurlencode($event->getAttribute("path"), '/'), 'queryString' => $event->getQueryParams(), 'headers' => $event->getHeaders(),