From c13bd747e4b7dd25d58401dde61f2089b1742f11 Mon Sep 17 00:00:00 2001 From: nick Date: Thu, 11 Apr 2024 13:57:06 +0900 Subject: [PATCH] fix: update urls --- cli/src/settings.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/src/settings.ts b/cli/src/settings.ts index 962c615f7..09fb87085 100644 --- a/cli/src/settings.ts +++ b/cli/src/settings.ts @@ -1,28 +1,28 @@ const production = process.env.NODE_ENV == 'production' const default_api_url = production - ? 'http://api.orakl.svc.cluster.local' + ? 'http://orakl-api.orakl.svc.cluster.local' : 'http://localhost:3000/api/v1' const default_delegator_url = production - ? 'http://delegator.orakl.svc.cluster.local' + ? 'http://orakl-delegator.orakl.svc.cluster.local' : 'http://localhost:3002/api/v1' const default_fetcher_host = production - ? 'http://fetcher.orakl.svc.cluster.local' + ? 'http://orakl-fetcher.orakl.svc.cluster.local' : 'http://localhost' const default_fetcher_port = production ? '4040' : '3001' const default_listener_host = production - ? 'http://aggregator-listener.orakl.svc.cluster.local' + ? 'http://orakl-aggregator-listener.orakl.svc.cluster.local' : 'http://localhost' const default_listener_port = production ? '4000' : '4000' const default_worker_host = production - ? 'http://aggregator-worker.orakl.svc.cluster.local' + ? 'http://orakl-aggregator-worker.orakl.svc.cluster.local' : 'http://localhost' const default_worker_port = production ? '5000' : '5001' const default_reporter_host = production - ? 'http://aggregator-reporter.orakl.svc.cluster.local' + ? 'http://orakl-aggregator-reporter.orakl.svc.cluster.local' : 'http://localhost' const default_reporter_port = production ? '6000' : '6000'