fix: point apiUrl to api-dev.gohorsejobs.com
This commit is contained in:
parent
51f01dae6a
commit
ec974e8b1f
2 changed files with 2 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue