mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 08:31:12 -05:00
Fix pnpm lockfile
This commit is contained in:
14
api/ssrOG.ts
14
api/ssrOG.ts
@@ -1,7 +1,19 @@
|
|||||||
import { VercelRequest, VercelResponse } from '@vercel/node';
|
import type { IncomingMessage, ServerResponse } from 'http';
|
||||||
import { readFileSync } from 'fs';
|
import { readFileSync } from 'fs';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
|
|
||||||
|
type VercelRequest = IncomingMessage & {
|
||||||
|
query: { [key: string]: string | string[] };
|
||||||
|
cookies: { [key: string]: string };
|
||||||
|
body: any;
|
||||||
|
};
|
||||||
|
|
||||||
|
type VercelResponse = ServerResponse & {
|
||||||
|
status: (code: number) => VercelResponse;
|
||||||
|
json: (data: any) => VercelResponse;
|
||||||
|
send: (body: string) => VercelResponse;
|
||||||
|
};
|
||||||
|
|
||||||
// Bot detection configuration
|
// Bot detection configuration
|
||||||
const SOCIAL_BOTS = {
|
const SOCIAL_BOTS = {
|
||||||
'facebookexternalhit': 'facebook',
|
'facebookexternalhit': 'facebook',
|
||||||
|
|||||||
1303
package-lock.json
generated
1303
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -55,7 +55,6 @@
|
|||||||
"@uppy/status-bar": "^5.0.1",
|
"@uppy/status-bar": "^5.0.1",
|
||||||
"@uppy/xhr-upload": "^5.0.1",
|
"@uppy/xhr-upload": "^5.0.1",
|
||||||
"@vercel/analytics": "^1.5.0",
|
"@vercel/analytics": "^1.5.0",
|
||||||
"@vercel/node": "^5.5.2",
|
|
||||||
"class-variance-authority": "^0.7.1",
|
"class-variance-authority": "^0.7.1",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"cmdk": "^1.1.1",
|
"cmdk": "^1.1.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user