在IBM 8.0中,是否对使用带有MobileFirst适配器的外部库有任何限制?
当我添加时,我的代码没有错误(mfpdev适配器构建成功),但是当部署到我的服务器时,它会用错误来响应:
[ERROR] Failed to execute goal com.ibm.mfp:adapter-maven-plugin:8.0.2016082422:deploy (default-cli) on project X: The output of /mfpadmin/management-apis/2.0/runtimes/mfp/adapters is of type text/html, whi
这个问题说明了一切,下面是我当前的重定向代码,但我想编辑它,使其在屏幕大小而不是设备上重定向。不过,它仍然需要设置cookie,这样用户才能返回主站点。
<script type="text/javascript">
var mfp_url='http://mob.visitorconversions.co.uk';
var mfp_host_name=document.location.hostname;
var mfp_request_uri=document.location.pathname;
var mfp_no_mobile=locat