mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
chore: deploy to Cloudflare Pages and update branding
- Add Cloudflare Pages deployment for landing page (snapotter.com) and docs (docs.snapotter.com) - Create deploy-landing.yml and update deploy-docs.yml workflows - Update CI to ignore apps/landing/** paths - Fix logo transparency (remove white background) across all apps - Recreate social-preview.png with SnapOtter branding - Update all docs URLs from GitHub Pages to docs.snapotter.com - Update VitePress config: light theme default, fix llms.txt paths - Add .vitepress/cache/ and .env.* to gitignore
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { randomUUID } from "node:crypto";
|
||||
import { isGpuAvailable } from "@ashim/ai";
|
||||
import { APP_VERSION } from "@ashim/shared";
|
||||
import cors from "@fastify/cors";
|
||||
import rateLimit from "@fastify/rate-limit";
|
||||
import { isGpuAvailable } from "@snapotter/ai";
|
||||
import { APP_VERSION } from "@snapotter/shared";
|
||||
import { eq } from "drizzle-orm";
|
||||
import Fastify from "fastify";
|
||||
import { env } from "./config.js";
|
||||
@@ -230,7 +230,7 @@ try {
|
||||
const gpu = isGpuAvailable();
|
||||
console.log(
|
||||
[
|
||||
`ashim v${APP_VERSION} running on port ${env.PORT}`,
|
||||
`SnapOtter v${APP_VERSION} running on port ${env.PORT}`,
|
||||
gpu
|
||||
? "[INFO] GPU detected — AI tools will use CUDA acceleration"
|
||||
: "[WARN] No GPU detected — AI tools will use CPU (slower)",
|
||||
@@ -275,7 +275,7 @@ async function shutdown(signal: string) {
|
||||
}
|
||||
|
||||
try {
|
||||
const { shutdownDispatcher } = await import("@ashim/ai");
|
||||
const { shutdownDispatcher } = await import("@snapotter/ai");
|
||||
shutdownDispatcher();
|
||||
console.log("Python dispatcher shut down");
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user