aboutsummaryrefslogtreecommitdiffstats
path: root/vercel.json
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2023-11-10 21:14:42 -0800
committerPinapelz <yukais@pinapelz.com>2023-11-10 21:14:42 -0800
commitf5ca968756e8888a6e6f6520c807cab3b64306ed (patch)
tree04abdc47b38ba0dcb5c37c4f15d9f565c19d1576 /vercel.json
parente300f3081f1565cce8224a0c7d08ec1497049e4a (diff)
add cron job to clear sessions
Diffstat (limited to 'vercel.json')
-rw-r--r--vercel.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/vercel.json b/vercel.json
index d79b7f1..67fef1e 100644
--- a/vercel.json
+++ b/vercel.json
@@ -10,5 +10,11 @@
"src":"/(.*)",
"dest":"api/app.py"
}
+ ],
+ "crons": [
+ {
+ "path": "/api/clear_sessions",
+ "schedule": "0 3 * * *"
+ }
]
} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage