From 11f02e587f5d29baf1880dbce681dd644f600f2b Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Mon, 15 Apr 2024 19:14:13 +0900 Subject: [PATCH] initial commit Yet another sandbox. Bug: N/A Signed-off-by: Yongmin Hong --- LICENSE | 0 .../PhabricatorCustomRobotsTxtController.php | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 LICENSE create mode 100644 PhabExt/PhabricatorCustomRobotsTxtController.php diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e69de29 diff --git a/PhabExt/PhabricatorCustomRobotsTxtController.php b/PhabExt/PhabricatorCustomRobotsTxtController.php new file mode 100644 index 0000000..a2a3e0d --- /dev/null +++ b/PhabExt/PhabricatorCustomRobotsTxtController.php @@ -0,0 +1,26 @@ +setContent($content) + ->setCacheDurationInSeconds(phutil_units('2 hours in seconds')) + ->setCanCDN(true); + } +} \ No newline at end of file