我正在使用Shindig 2.0及其默认容器。 当容器呈现小工具,它会调用这个servlet:/gadgets/ifr?url=http://iltlvl094:8080/sample-gadget/spec.xml&libs=rpc&parent=http://iltlvl094&debug=1&#rpctoken=54612318
更改Shindig容器中的主机名
这个servlet返回进口JavaScript文件从localhost
HTML代码:
<script src="http://localhost:8080/gadgets/js/rpc.js?container=default&nocache=0&debug=1&c=0&v=249039fb66d20be125366df4d5ec26c2"></script>
为什么它是指localhost
,而不是实际的主机名 - iltlvl094
? 我可以在哪里改变它?
我正在使用Shindig开箱即用,因此我没有任何源代码或配置文件要修改。也许我可以通过命令行参数来做到这一点?
感谢, 托梅尔