mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-29 12:07:04 -05:00
Compare commits
6 Commits
f70c9e33ee
...
d1b9ea9d89
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1b9ea9d89 | ||
|
|
d00f358e5c | ||
|
|
8eb8dc21cd | ||
|
|
26adc0f75c | ||
|
|
2482420780 | ||
|
|
d14dc3a144 |
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 { 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
|
||||
const SOCIAL_BOTS = {
|
||||
'facebookexternalhit': 'facebook',
|
||||
|
||||
1728
package-lock.json
generated
1728
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,8 @@
|
||||
"@hookform/resolvers": "^3.10.0",
|
||||
"@marsidev/react-turnstile": "^1.3.1",
|
||||
"@mdxeditor/editor": "^3.47.0",
|
||||
"@novu/headless": "^2.6.6",
|
||||
"@novu/node": "^2.6.6",
|
||||
"@novu/react": "^3.10.1",
|
||||
"@radix-ui/react-accordion": "^1.2.11",
|
||||
"@radix-ui/react-alert-dialog": "^1.1.14",
|
||||
|
||||
6945
pnpm-lock.yaml
generated
6945
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,6 @@
|
||||
{
|
||||
"installCommand": "bun install",
|
||||
"buildCommand": "bun run build",
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/",
|
||||
|
||||
Reference in New Issue
Block a user