diff --git a/devel/config/spandx/local-frontend-and-api.js b/devel/config/spandx/local-frontend-and-api.js index b867989d..33988fbc 100644 --- a/devel/config/spandx/local-frontend-and-api.js +++ b/devel/config/spandx/local-frontend-and-api.js @@ -1,15 +1,11 @@ /*global module*/ -const SECTION = 'insights'; -const APP_ID = 'image-builder'; -const FRONTEND_PORT = 8002; const API_PORT = 8086; -const routes = {}; -routes[`/beta/${SECTION}/${APP_ID}`] = { host: `http://frontend:${FRONTEND_PORT}` }; -routes[`/${SECTION}/${APP_ID}`] = { host: `http://frontend:${FRONTEND_PORT}` }; -routes[`/beta/apps/${APP_ID}`] = { host: `http://frontend:${FRONTEND_PORT}` }; -routes[`/apps/${APP_ID}`] = { host: `http://frontend:${FRONTEND_PORT}` }; -routes[`/api/${APP_ID}`] = { host: `http://backend:${API_PORT}` }; +const routes = { + "/api/image-builder": { + host: `http://backend:${API_PORT}` + } +}; module.exports = { routes };