RobotsTxt: update lastModified
Bug: N/A Signed-off-by: Yongmin Hong <revi@omglol.email>
This commit is contained in:
parent
6b530af898
commit
09470b6a92
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ public function processRequest() {
|
||||||
// Version timestamp is when I started editing them.
|
// Version timestamp is when I started editing them.
|
||||||
// Edit setLastModified at the bottom as well.
|
// Edit setLastModified at the bottom as well.
|
||||||
// Calculate EpochTime via go/ZoneStamp
|
// Calculate EpochTime via go/ZoneStamp
|
||||||
$out[] = '# version: 20240429T175800+0900';
|
$out[] = '# version: 20240430T032700+0900';
|
||||||
$out[] = '# also at https://github.com/revi/sandbox.git';
|
$out[] = '# also at https://github.com/revi/sandbox.git';
|
||||||
$out[] = 'User-Agent: *';
|
$out[] = 'User-Agent: *';
|
||||||
$out[] = 'Disallow: /diffusion/';
|
$out[] = 'Disallow: /diffusion/';
|
||||||
|
@ -100,6 +100,6 @@ public function processRequest() {
|
||||||
->setContent($content)
|
->setContent($content)
|
||||||
->setCacheDurationInSeconds(phutil_units('2 hours in seconds'))
|
->setCacheDurationInSeconds(phutil_units('2 hours in seconds'))
|
||||||
->setCanCDN(true)
|
->setCanCDN(true)
|
||||||
->setLastModified(1714381080);
|
->setLastModified(1714415220);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue