mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 10:30:55 +01:00
forgot this oops
This commit is contained in:
parent
8b481bbbae
commit
6dfec85b93
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ export const cacheWrapper = async (
|
|||
/* Itty-router doesn't seem to like routing file names because whatever,
|
||||
so we just handle it in the caching layer instead. Kinda hacky, but whatever. */
|
||||
if (cacheUrl.pathname === '/robots.txt') {
|
||||
return new Response(Constants.ROBOTS_TXT, {
|
||||
return new Response(Strings.ROBOTS_TXT, {
|
||||
headers: {
|
||||
...Constants.RESPONSE_HEADERS,
|
||||
'content-type': 'text/plain'
|
||||
|
|
Loading…
Add table
Reference in a new issue