search cancel

Catalog: How to hide/remove URL's exposed in config.js

book

Article ID: 202811

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

The http://catalog_hostname:port/usm/mobile/config/config.js URL exposes a hostname and Server URL's. 

"http://imrpe01-hp:8080/camobileservices"

"https://imrpe01-hp:8443/camobileservices"

 

Can these be hidden or removed?

Environment

Release : 17.2

Component : SERVICE DESK MANAGER

Resolution

Yes, these URL's are comment's in the javascript USM_HOME\view\webapps\usm\mobile\config\config.js file.

These can be removed since are a comment in the Javascript file and won't cause any problem.

Change from:

var SERVER_URL = "";//"http://imrpe01-hp:8080/camobileservices";
var SECURE_SERVER_URL = ":"//"https://imrpe01-hp:8443/camobileservices";

to 

var SERVER_URL = "";
var SECURE_SERVER_URL = ":"