fix api endpint

This commit is contained in:
Hongbo Wu 2024-01-19 12:36:15 +08:00
parent 7c25a628d9
commit 3d42973c5f

View file

@ -8,7 +8,7 @@ const signToken = promisify(jwt.sign)
const IMPORTER_METRICS_COLLECTOR_URL = env.queue.importerMetricsUrl
const JWT_SECRET = env.server.jwtSecret
const REST_BACKEND_ENDPOINT = env.server.internalApiUrl
const REST_BACKEND_ENDPOINT = `${env.server.internalApiUrl}/api`
const REQUEST_TIMEOUT = 30000 // 30 seconds