From 2377ec7374b802ddf1c3114338bb863b1a790920 Mon Sep 17 00:00:00 2001 From: martin-mfg <2026226+martin-mfg@users.noreply.github.com> Date: Thu, 26 Jun 2025 08:23:30 +0000 Subject: [PATCH] fix 'status' endpoints --- _dot_vercel_copy/output/functions/api.func/router.js | 2 +- _dot_vercel_copy/output/functions/api/status/pat-info.func | 1 + .../functions/api/status/pat-info.prerender-config.json | 5 +++++ _dot_vercel_copy/output/functions/api/status/up.func | 1 + .../output/functions/api/status/up.prerender-config.json | 5 +++++ 5 files changed, 13 insertions(+), 1 deletion(-) create mode 120000 _dot_vercel_copy/output/functions/api/status/pat-info.func create mode 100644 _dot_vercel_copy/output/functions/api/status/pat-info.prerender-config.json create mode 120000 _dot_vercel_copy/output/functions/api/status/up.func create mode 100644 _dot_vercel_copy/output/functions/api/status/up.prerender-config.json diff --git a/_dot_vercel_copy/output/functions/api.func/router.js b/_dot_vercel_copy/output/functions/api.func/router.js index db217404..83dad8f3 100644 --- a/_dot_vercel_copy/output/functions/api.func/router.js +++ b/_dot_vercel_copy/output/functions/api.func/router.js @@ -43,7 +43,7 @@ export default async (req, res) => { case "/api/repeat-recent": repeatRecent(req, res); break; - case "/api/pat-info": + case "/api/status/pat-info": patInfo(req, res); break; case "/api/status/up": diff --git a/_dot_vercel_copy/output/functions/api/status/pat-info.func b/_dot_vercel_copy/output/functions/api/status/pat-info.func new file mode 120000 index 00000000..0f4906ce --- /dev/null +++ b/_dot_vercel_copy/output/functions/api/status/pat-info.func @@ -0,0 +1 @@ +../../api.func \ No newline at end of file diff --git a/_dot_vercel_copy/output/functions/api/status/pat-info.prerender-config.json b/_dot_vercel_copy/output/functions/api/status/pat-info.prerender-config.json new file mode 100644 index 00000000..bea81b9c --- /dev/null +++ b/_dot_vercel_copy/output/functions/api/status/pat-info.prerender-config.json @@ -0,0 +1,5 @@ +{ + "expiration": 5, + "bypassToken": "r3fr3shT0k3n-r3fr3shT0k3n-r3fr3shT0k3n", + "passQuery": true +} \ No newline at end of file diff --git a/_dot_vercel_copy/output/functions/api/status/up.func b/_dot_vercel_copy/output/functions/api/status/up.func new file mode 120000 index 00000000..0f4906ce --- /dev/null +++ b/_dot_vercel_copy/output/functions/api/status/up.func @@ -0,0 +1 @@ +../../api.func \ No newline at end of file diff --git a/_dot_vercel_copy/output/functions/api/status/up.prerender-config.json b/_dot_vercel_copy/output/functions/api/status/up.prerender-config.json new file mode 100644 index 00000000..bea81b9c --- /dev/null +++ b/_dot_vercel_copy/output/functions/api/status/up.prerender-config.json @@ -0,0 +1,5 @@ +{ + "expiration": 5, + "bypassToken": "r3fr3shT0k3n-r3fr3shT0k3n-r3fr3shT0k3n", + "passQuery": true +} \ No newline at end of file