summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index ab9f4c1..892f230 100644
--- a/index.pl
+++ b/index.pl
@@ -50,7 +50,7 @@ sub get_results {
$expiry ||= 150;
my $cache = Cache::File->new(
- cache_root => '/tmp/vrr-fakedisplay',
+ cache_root => $ENV{VRRFAKEDISPLAY_CACHE} // '/tmp/vrr-fakedisplay',
default_expires => "${expiry} sec",
lock_level => Cache::File::LOCK_LOCAL(),
);