Skip to content

Commit

Permalink
add note about cloud robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga authored and zoldar committed Mar 19, 2024
1 parent ea75b83 commit a0bc05f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plausible_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ defmodule PlausibleWeb.Endpoint do

static_paths =
on_full_build do
# NOTE: The Cloud uses custom robots.txt from https://github.com/plausible/website: https://plausible.io/robots.txt
static_paths
else
static_paths ++ ["robots.txt"]
Expand Down

0 comments on commit a0bc05f

Please sign in to comment.