Catalog: Hide/remove URL's exposed in config.js
search cancel

Catalog: 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 URLs. 

"http://example:8080/mobile"

"https://example:8443/mobile"

Can these be hidden or removed?

Environment

Release : 17.2

Component : SERVICE DESK MANAGER

Resolution

Yes, these URL's are comments 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 problems.

Change from:

var SERVER_URL = "";//"http://example:8080/mobile";
var SECURE_SERVER_URL = ":"//"https:example:8443/mobile";

to 

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