mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
* feat(website): publish latest Android version code * fix(website): select latest Android APK release
10 lines
285 B
TypeScript
10 lines
285 B
TypeScript
import { env, waitUntil } from "cloudflare:workers";
|
|
import type { WebsiteCacheContext } from "./github-cache";
|
|
|
|
export function getWebsiteCacheContext(): WebsiteCacheContext {
|
|
return {
|
|
cache: (env as { WEBSITE_CACHE?: KVNamespace }).WEBSITE_CACHE ?? null,
|
|
waitUntil,
|
|
};
|
|
}
|