Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/hooks/use-freebuff-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const playAdmissionSound = () => {

const sessionEndpoint = (): string => {
const base = (
env.NEXT_PUBLIC_CODEBUFF_APP_URL || 'https://codebuff.com'
env.NEXT_PUBLIC_CODEBUFF_APP_URL || 'https://www.codebuff.com'
).replace(/\/$/, '')
return `${base}/api/v1/freebuff/session`
}
Expand Down
2 changes: 1 addition & 1 deletion cli/src/utils/error-handling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type {

import { IS_FREEBUFF } from './constants'

const defaultAppUrl = env.NEXT_PUBLIC_CODEBUFF_APP_URL || 'https://codebuff.com'
const defaultAppUrl = env.NEXT_PUBLIC_CODEBUFF_APP_URL || 'https://www.codebuff.com'

// Normalize unknown errors to a user-facing string.
const extractErrorMessage = (error: unknown, fallback: string): string => {
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/validate-agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface ValidateAgentsOptions {
/**
* The base URL of the Codebuff website API.
* Optional - defaults to NEXT_PUBLIC_CODEBUFF_APP_URL or environment-based URL.
* Example: 'https://codebuff.com'
* Example: 'https://www.codebuff.com'
*/
websiteUrl?: string
}
Expand Down