Quantcast
Channel: LivePerson Connect : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 2324

Using absolute URLs in lpconnect_widgets.json

$
0
0

Hi,

I'm using the following JSON object in the lpconnect_widget.json file:

{

        "name": "Walkme Widget",

        "enabled": true,

        "visitor": {

            "widgetClass": "WalkMeLivePersonWidget",

            "jsFiles": ["http://localhost/lpconnect/Code/widget/walkmeCommon.js",

                          "http://localhost/lpconnect/Code/widget/visitorWidgetBL.js",

                          "http://localhost/lpconnect/Code/widget/walkmeLivePersonWidgetVisitor.js"],

            "cssFiles": [http://localhost/lpconnect/Code/css/walkme_visitor_widget.css"],

            "params": {}

        },

        "agent": {

            "widgetClass": "WalkMeLivePersonWidget",

            "jsFiles": ["http://localhost/lpconnect/Code/widget/walkmeCommon.js",

                           "http://localhost/lpconnect/Code/widget/agentWidgetBL.js",

                           "http://localhost/lpconnect/Code/widget/walkmeLivePersonWidgetAgent.js"],

            "cssFiles": ["http://localhost/lpconnect/Code/css/walkme_agent_widget.css"],

            "params": {}

        }

    }

 

And I see that the chat window tries to load the jsFiles from here:

https://chatcon2.liveperson.nethttps//localhost/lpconnect/Code/widget/walkmeLivePersonWidgetVisitor.js?ver=2.5.1.0

Notice that the url is relative instead of absolute.

 

Is there anything I can do to make it absolute?

 

Regards,

Shaul.

 


Viewing all articles
Browse latest Browse all 2324

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>