fix: point apiUrl to api-dev.gohorsejobs.com

This commit is contained in:
GoHorse Deploy 2026-02-07 16:36:04 +00:00
parent 51f01dae6a
commit ec974e8b1f
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ export async function GET() {
const config = {
apiUrl: process.env.API_URL
|| process.env.NEXT_PUBLIC_API_URL
|| 'http://localhost:8521',
|| 'https://api-dev.gohorsejobs.com/',
backofficeUrl: process.env.BACKOFFICE_URL
|| process.env.NEXT_PUBLIC_BACKOFFICE_URL
|| 'http://localhost:3001',

View file

@ -10,7 +10,7 @@ export interface RuntimeConfig {
}
const defaultConfig: RuntimeConfig = {
apiUrl: process.env.NEXT_PUBLIC_API_URL || '/api/v1',
apiUrl: process.env.NEXT_PUBLIC_API_URL || 'https://api-dev.gohorsejobs.com/',
backofficeUrl: process.env.NEXT_PUBLIC_BACKOFFICE_URL || 'http://localhost:3001',
seederApiUrl: process.env.NEXT_PUBLIC_SEEDER_API_URL || 'http://localhost:3002',
scraperApiUrl: process.env.NEXT_PUBLIC_SCRAPER_API_URL || 'http://localhost:3003',