diff --git a/build/router/controller/page.php b/build/router/controller/page.php index a5524d5..38c3080 100644 --- a/build/router/controller/page.php +++ b/build/router/controller/page.php @@ -48,11 +48,12 @@ echo "$name"; - $link = $_SERVER['HTTP_HOST']."/ics/$id.ics"; - echo "Set colors"; + $URI = $_SERVER['REQUEST_URI']; + $link = $_SERVER['HTTP_HOST']."{$URI}ics/$id.ics"; + echo "Set colors"; echo "https://$link"; echo "";