查看: 5608|回复: 1

[bug] docker Portainer不可用

[复制链接]
发表于 2019-6-26 09:45:20 | 显示全部楼层 |阅读模式
  1. function goToPortainer()
  2.                         {
  3.   var portainerButton = jQuery('#portainer_main_submit');

  4.   if (portainerButton.attr('class') == 'unas_button') {
  5.     var ip = window.location.host;
  6.     window.open('http://' + ip + ':35080', '_blank').location;
  7.   }
  8.                         }
复制代码
此处ip应该为 var ip = window.location.hostname;
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|万由科技 ( 浙ICP备10004788号-13 )

GMT+8, 2025-4-30 23:43 , Processed in 0.206024 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表