函数setFaviconUrl()不添加favicon-为什么? [英] function setFaviconUrl() doesn't add favicon - why?

查看:159
本文介绍了函数setFaviconUrl()不添加favicon-为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此代码不起作用,我也不知道为什么.我试图更改图片,尝试使用.ico文件,但并没有帮助. Chrome控制台甚至没有错误.

this code is not working, and I don't know why. I have tried to change picture, tried .ico file and it didn't helped. There is even no error in Chrome console.

它工作了一段时间,但是没有任何明显的原因就停止了随机地"唤醒. Google的文档

It worked for some time, but it stopped woking "randomly" without any obvious reason. Google's documentation

   function doGet(request)
    {
      return HtmlService.createHtmlOutput("Ahoj").setFaviconUrl('https://humandesign.cz/scripts/frontend/favicon.png').setTitle('FrontEnd');
    }

推荐答案

显然,这是一个已知问题,Google正在努力解决: https://issuetracker.google.com/issues/119627744

Apparently this is a known issue and Google is working on a fix: https://issuetracker.google.com/issues/119627744

这篇关于函数setFaviconUrl()不添加favicon-为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆