mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-06 02:50:54 +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,
|
/* 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. */
|
so we just handle it in the caching layer instead. Kinda hacky, but whatever. */
|
||||||
if (cacheUrl.pathname === '/robots.txt') {
|
if (cacheUrl.pathname === '/robots.txt') {
|
||||||
return new Response(Constants.ROBOTS_TXT, {
|
return new Response(Strings.ROBOTS_TXT, {
|
||||||
headers: {
|
headers: {
|
||||||
...Constants.RESPONSE_HEADERS,
|
...Constants.RESPONSE_HEADERS,
|
||||||
'content-type': 'text/plain'
|
'content-type': 'text/plain'
|
||||||
|
|
Loading…
Add table
Reference in a new issue