Skip to content

Commit

Permalink
fix: update default API and SignalR connection URLs for containerized…
Browse files Browse the repository at this point in the history
… environment
  • Loading branch information
phob committed Feb 11, 2025
1 parent e672940 commit 5f671bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mediaflick/src/lib/api/client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Base API client setup
const API_BASE = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:5000/api'
const API_BASE = process.env.NEXT_PUBLIC_API_URL || 'http://mediaflick:5000/api'

export class ApiError extends Error {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion mediaflick/src/lib/api/signalr.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HubConnectionBuilder, HubConnection } from '@microsoft/signalr'
import { ScannedFile, MediaType, MediaStatus } from '../api/types'

const SIGNALR_BASE = process.env.NEXT_PUBLIC_SIGNALR_URL || 'http://localhost:5000/hubs'
const SIGNALR_BASE = process.env.NEXT_PUBLIC_SIGNALR_URL || 'http://mediaflick:5000/hubs'

interface ScannedFileDto {
id: number
Expand Down

0 comments on commit 5f671bb

Please sign in to comment.