From dfef47796789f550c08b3903e2e37a3cfd1e7086 Mon Sep 17 00:00:00 2001 From: Lexie Date: Mon, 22 Jul 2024 22:45:06 +0000 Subject: [PATCH] chore: rename (#2) --- src/components/Layout.tsx | 2 +- src/globals.d.ts | 2 +- src/index.ts | 2 +- src/routes/getOEmbed.ts | 2 +- src/routes/getPost.tsx | 2 +- src/routes/getProfile.tsx | 2 +- wrangler.toml | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index bf96d18..1a2758c 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -17,7 +17,7 @@ export const Layout = ({ url, children }: LayoutProps) => { - + ${children} diff --git a/src/globals.d.ts b/src/globals.d.ts index b4b9687..70fd1c4 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -6,7 +6,7 @@ declare global { BSKY_SERVICE_URL: string; BSKY_AUTH_USERNAME: string; BSKY_AUTH_PASSWORD: string; - FIXBLUESKY_APP_DOMAIN: string; + VIXBLUESKY_APP_DOMAIN: string; }; Variables: { Agent: BskyAgent; diff --git a/src/index.ts b/src/index.ts index 250fde8..1cae96e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,7 +29,7 @@ app.use("*", async (c, next) => { }); app.get("/", async (c) => { - return c.redirect("https://github.com/ThornbushHQ/FixBluesky"); + return c.redirect("https://github.com/Rapougnac/VixBluesky"); }); app.get("/profile/:user/post/:post", getPost); diff --git a/src/routes/getOEmbed.ts b/src/routes/getOEmbed.ts index 1d32d70..a828585 100644 --- a/src/routes/getOEmbed.ts +++ b/src/routes/getOEmbed.ts @@ -10,7 +10,7 @@ export const getOEmbed: Handler = async (c) => { const avatar = c.req.query("avatar"); const defaults = { - provider_name: "FixBluesky", + provider_name: "VixBluesky", provider_url: "https://bskyx.app/", thumbnail_width: 1000, thumbnail_height: 1000, diff --git a/src/routes/getPost.tsx b/src/routes/getPost.tsx index ead9e7a..2072b7a 100644 --- a/src/routes/getPost.tsx +++ b/src/routes/getPost.tsx @@ -20,7 +20,7 @@ export const getPost: Handler< ); }; diff --git a/src/routes/getProfile.tsx b/src/routes/getProfile.tsx index 0314fe1..a531705 100644 --- a/src/routes/getProfile.tsx +++ b/src/routes/getProfile.tsx @@ -19,7 +19,7 @@ export const getProfile: Handler< ); }; diff --git a/wrangler.toml b/wrangler.toml index add2325..f11b15b 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,4 +1,4 @@ -name = "fixbluesky" +name = "vixbluesky" main = "src/index.ts" compatibility_date = "2023-01-01" @@ -7,4 +7,4 @@ route = { pattern = "bskyx.app/*", zone_name = "bskyx.app" } [vars] BSKY_SERVICE_URL="https://bsky.social/" -FIXBLUESKY_APP_DOMAIN="bskyx.app" +VIXBLUESKY_APP_DOMAIN="bskyx.app"