Skip to content

Commit ea5423b

Browse files
fixed deployment links
1 parent 0d2d1eb commit ea5423b

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

app/components/chat/NetlifyDeploymentLink.client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function NetlifyDeploymentLink() {
1414
}
1515
}, [connection.token, currentChatId]);
1616

17-
const deployedSite = connection.stats?.sites?.find((site) => site.name.includes(`codinit-diy-${currentChatId}`));
17+
const deployedSite = connection.stats?.sites?.find((site) => site.name.includes(`codinit-dev-${currentChatId}`));
1818

1919
if (!deployedSite) {
2020
return null;

app/components/chat/VercelDeploymentLink.client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function VercelDeploymentLink() {
4646
const chatNumber = currentChatId.split('-')[0];
4747

4848
// Find project by matching the chat number in the name
49-
const project = projects.find((p: { name: string | string[] }) => p.name.includes(`codinit-diy-${chatNumber}`));
49+
const project = projects.find((p: { name: string | string[] }) => p.name.includes(`codinit-dev-${chatNumber}`));
5050

5151
if (project) {
5252
// Fetch project details including deployments

app/routes/api.netlify-deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function action({ request }: ActionFunctionArgs) {
2121

2222
// If no siteId provided, create a new site
2323
if (!targetSiteId) {
24-
const siteName = `codinit-diy-${chatId}-${Date.now()}`;
24+
const siteName = `codinit-dev-${chatId}-${Date.now()}`;
2525
const createSiteResponse = await fetch('https://api.netlify.com/api/v1/sites', {
2626
method: 'POST',
2727
headers: {
@@ -70,7 +70,7 @@ export async function action({ request }: ActionFunctionArgs) {
7070

7171
// If no siteId provided or site doesn't exist, create a new site
7272
if (!targetSiteId) {
73-
const siteName = `codinit-diy-${chatId}-${Date.now()}`;
73+
const siteName = `codinit-dev-${chatId}-${Date.now()}`;
7474
const createSiteResponse = await fetch('https://api.netlify.com/api/v1/sites', {
7575
method: 'POST',
7676
headers: {

app/routes/api.system.app-info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const getAppResponse = () => {
4747
return {
4848
name: __PKG_NAME || 'codinit-app',
4949
version: __APP_VERSION || '0.9.6',
50-
description: __PKG_DESCRIPTION || 'A DIY LLM interface',
50+
description: __PKG_DESCRIPTION || 'A LLM interface',
5151
license: __PKG_LICENSE || 'MIT',
5252
environment: 'cloudflare',
5353
gitInfo,

app/routes/api.vercel-deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export async function action({ request }: ActionFunctionArgs) {
8080

8181
// If no projectId provided, create a new project
8282
if (!targetProjectId) {
83-
const projectName = `codinit-diy-${chatId}-${Date.now()}`;
83+
const projectName = `codinit-dev-${chatId}-${Date.now()}`;
8484
const createProjectResponse = await fetch('https://api.vercel.com/v9/projects', {
8585
method: 'POST',
8686
headers: {
@@ -127,7 +127,7 @@ export async function action({ request }: ActionFunctionArgs) {
127127
};
128128
} else {
129129
// If project doesn't exist, create a new one
130-
const projectName = `codinit-diy-${chatId}-${Date.now()}`;
130+
const projectName = `codinit-dev-${chatId}-${Date.now()}`;
131131
const createProjectResponse = await fetch('https://api.vercel.com/v9/projects', {
132132
method: 'POST',
133133
headers: {

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const getPackageJson = () => {
5858
} catch {
5959
return {
6060
name: 'codinit.dev',
61-
description: 'A DIY LLM interface',
61+
description: 'A LLM interface',
6262
license: 'MIT',
6363
dependencies: {},
6464
devDependencies: {},

0 commit comments

Comments
 (0)