Skip to content

Commit 61686fa

Browse files
fix: update CACHE_DIR for vercel (#885)
1 parent 2151a13 commit 61686fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Default cache duration: 24 hours (in seconds)
1212
define("CACHE_DURATION", 24 * 60 * 60);
13-
define("CACHE_DIR", __DIR__ . "/../cache");
13+
define("CACHE_DIR", "/tmp/cache");
1414

1515
/**
1616
* Generate a cache key for a user's request

0 commit comments

Comments
 (0)