chore: rename (#2)
This commit is contained in:
@@ -17,7 +17,7 @@ export const Layout = ({ url, children }: LayoutProps) => {
|
||||
<link rel="canonical" href="${url.substring(1)}" />
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
||||
<meta content="#0085ff" name="theme-color" />
|
||||
<meta property="og:site_name" content="FixBluesky" />
|
||||
<meta property="og:site_name" content="VixBluesky" />
|
||||
|
||||
${children}
|
||||
<meta http-equiv="refresh" content="0;url=${redirectUrl}" />
|
||||
|
||||
2
src/globals.d.ts
vendored
2
src/globals.d.ts
vendored
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -10,7 +10,7 @@ export const getOEmbed: Handler<Env, "/oembed"> = 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,
|
||||
|
||||
@@ -20,7 +20,7 @@ export const getPost: Handler<
|
||||
<Post
|
||||
post={data.posts[0]}
|
||||
url={c.req.path}
|
||||
appDomain={c.env.FIXBLUESKY_APP_DOMAIN}
|
||||
appDomain={c.env.VIXBLUESKY_APP_DOMAIN}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@ export const getProfile: Handler<
|
||||
<Profile
|
||||
profile={data}
|
||||
url={c.req.path}
|
||||
appDomain={c.env.FIXBLUESKY_APP_DOMAIN}
|
||||
appDomain={c.env.VIXBLUESKY_APP_DOMAIN}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user