This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:title" content="Officer Dev (Alpha)" />
|
<meta property="og:title" content="Officer Dev (Alpha)" />
|
||||||
<meta property="og:description" content="Your all-purpose AI operating system. Personal AI assistant, terminal, file browser, code editor, and customizable workspaces — all self-hosted." />
|
<meta property="og:description" content="Your all-purpose AI operating system. Personal AI assistant, terminal, file browser, code editor, and customizable workspaces — all self-hosted." />
|
||||||
<meta property="og:image" content="https://static.officer.dev/og-image.jpg" />
|
<meta property="og:image" content="https://alpha.officer.dev/og-image.jpg" />
|
||||||
<meta property="og:image:secure_url" content="https://static.officer.dev/og-image.jpg" />
|
<meta property="og:image:secure_url" content="https://static.officer.dev/og-image.jpg" />
|
||||||
<meta property="og:image:width" content="1200" />
|
<meta property="og:image:width" content="1200" />
|
||||||
<meta property="og:image:height" content="630" />
|
<meta property="og:image:height" content="630" />
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<meta name="twitter:card" content="summary_large_image" />
|
<meta name="twitter:card" content="summary_large_image" />
|
||||||
<meta name="twitter:title" content="Officer Dev (Alpha)" />
|
<meta name="twitter:title" content="Officer Dev (Alpha)" />
|
||||||
<meta name="twitter:description" content="Your all-purpose AI operating system. Personal AI assistant, terminal, file browser, code editor, and customizable workspaces — all self-hosted." />
|
<meta name="twitter:description" content="Your all-purpose AI operating system. Personal AI assistant, terminal, file browser, code editor, and customizable workspaces — all self-hosted." />
|
||||||
<meta name="twitter:image" content="https://static.officer.dev/og-image.jpg" />
|
<meta name="twitter:image" content="https://alpha.officer.dev/og-image.jpg" />
|
||||||
|
|
||||||
<!-- Favicons & App Icons -->
|
<!-- Favicons & App Icons -->
|
||||||
<link rel="icon" type="image/x-icon" href="https://static.officer.dev/favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="https://static.officer.dev/favicon.ico" />
|
||||||
|
|||||||
+2
-1
@@ -143,7 +143,8 @@ const server = serve({
|
|||||||
idleTimeout: 60,
|
idleTimeout: 60,
|
||||||
maxRequestBodySize: 1024 * 1024 * 1024 * 50, // 50 GB
|
maxRequestBodySize: 1024 * 1024 * 1024 * 50, // 50 GB
|
||||||
routes: {
|
routes: {
|
||||||
'/api/dev-server-proxy/*': (req, server) => {
|
'/og-image.jpg': () => new Response(Bun.file('public/og-image.jpg')),
|
||||||
|
'/api/dev-server-proxy/*': (req, server) => {
|
||||||
if (req.headers.get('upgrade') === 'websocket') return upgradeDevServerWs(req, server);
|
if (req.headers.get('upgrade') === 'websocket') return upgradeDevServerWs(req, server);
|
||||||
return honoServer.fetch(req, server);
|
return honoServer.fetch(req, server);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user