How to reduce worklight application url to shorter form?

流过昼夜 提交于 2019-12-13 05:16:10

问题


How to reduce Worklight application url?

For ex: My application url is //hostname:ipaddress/projectName/apps/services/preview/projectNameApp/common/0/default/projectNameApp.html"

How to reduce this url to shorter form?

I want to set up a url which can be accessible easily over the internet. what are the settings required to get shorter url in worklight project

For ex

//hostname:portno/context path/appIndexPage.html

instead of

//hostname:ipaddress/projectName/apps/services/preview/projectNameApp/common/0/default/projectNameApp.html"

Thanks.


回答1:


May I know the purpose? These URLs are not meant for public (end-user) consumption; they are internal.

However,

  • If you are aiming to use the Mobile Web environment, meaning you take the public URL of the app from Worklight Console and place it in your mobile web site for users to access, there is the option to use bit.ly to shorten the URL; you will first need to create an account at http://bit.ly.



回答2:


This is not the URL of your all. This is the URL of the app PREVIEW. Moreover, this is preview of common environment. If you're targeting mobile/desktop web environment - add it to your project and then use WL console to generate short link.



来源:https://stackoverflow.com/questions/18655949/how-to-reduce-worklight-application-url-to-shorter-form

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!