Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.2.X, Master
-
7.2.x
-
Committed
-
3
Description
Steps to reproduce:
- Run a Liferay DXP 7.2 locally
- Create two entries in your /etc/hosts, like:
127.0.0.1 cdn-dxp.smiles.local dxp.smiles.local
- Access the http://dxp.smiles.local:8080 in instance settings, set the CDN values with the value http://cdn-dxp.smiles.local:8080
- Notice that, the combo servlet is not rendering the correct request, which should be:
http://cdn-dxp.smiles.local/combo?browserId=other&minifierType=js&languageId=pt_BR&b=7210&t=1580481577189&/o/frontend-js-jquery-web/jquery/jquery.min.js&/o/frontend-js-jquery-web/jquery/bootstrap.bundle.min.js&/o/frontend-js-jquery-web/jquery/collapsible_search.js&/o/frontend-js-jquery-web/jquery/fm.js&/o/frontend-js-jquery-web/jquery/form.js&/o/frontend-js-jquery-web/jquery/popper.min.js&/o/frontend-js-jquery-web/jquery/side_navigation.js
But instead, it is (not using cdn host):
http://dxp.smiles.local/combo?browserId=other&minifierType=js&languageId=pt_BR&b=7210&t=1580481577189&/o/frontend-js-jquery-web/jquery/jquery.min.js&/o/frontend-js-jquery-web/jquery/bootstrap.bundle.min.js&/o/frontend-js-jquery-web/jquery/collapsible_search.js&/o/frontend-js-jquery-web/jquery/fm.js&/o/frontend-js-jquery-web/jquery/form.js&/o/frontend-js-jquery-web/jquery/popper.min.js&/o/frontend-js-jquery-web/jquery/side_navigation.js
Attachments
Issue Links
- causes
-
LPS-118500 Liferay unable to load Javascript resources when using a custom root context.
- Closed