mirror of
https://github.com/rikkaneko/paste.git
synced 2025-08-03 20:50:08 +01:00
Forward client HTPP headers to improve caching
Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
parent
601bd0b7dc
commit
e53deac322
3 changed files with 80 additions and 17 deletions
8
src/types.d.ts
vendored
8
src/types.d.ts
vendored
|
@ -8,3 +8,11 @@ export interface PasteIndexEntry {
|
|||
read_count_remain?: number;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface Env {
|
||||
PASTE_INDEX: KVNamespace;
|
||||
QRCODE: ServiceWorkerGlobalScope;
|
||||
AWS_ACCESS_KEY_ID: string;
|
||||
AWS_SECRET_ACCESS_KEY: string;
|
||||
ENDPOINT: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue