Google云端硬盘CSS返回404错误 [英] Google Drive CSS Returns 404 Error

查看:236
本文介绍了Google云端硬盘CSS返回404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Google云端硬盘上托管了我的CSS。

但是它突然停止工作(在Chrome,Safari,Mac和iPhone上测试)。

在使用 Chrome ,我看到了指向Google云端硬盘的链接返回了404

I hosted my CSS on Google Drive.
But it suddenly stopped working (tested on Chrome, Safari, Mac, iPhone..).
Upon inspecting with Chrome, I saw that the link to Google Drive returned a 404.

有人知道吗?

推荐答案

Google云端硬碟网站托管

无论使用什么链接格式(主机,ID,视图等),CSS JS都可以使用。

Google Drive Web Hosting is now deprecated.
That goes for both CSS and JS, and no matter what link format you use (host, id, view, etc.).

您在Google云端硬盘上连接到某个网站的任何CSS或JS都将无法使用(即使在此弃用发生之前已完成所有设置(且已正常工作))。

例如(我反复测试这个自己),CSS不会加载,检查你的网站,你会看到,你的东西应该启用的驱动器链接,返回404

Any CSS or JS you have on Google Drive, linked to a website, will no longer work (even if it was all setup - and working - before this deprecation came about).
For example (I tested this myself repeatedly), CSS won't load, and upon inspecting your site, you'll see that the Drive link your stuff is supposed to be on, returns a 404.

以Google自己的话来说:

In Google's own words:


开始 2015年8月31日,用户和开发人员的Google云端硬盘中的托管将被弃用

您可以继续使用此功能一年,直到八月

Beginning August 31st, 2015, web hosting in Google Drive for users and developers will be deprecated.
You can continue to use this feature for a period of one year until August 31st, 2016, when we will discontinue serving content via googledrive.com/host/[doc id].

源代码: gsuite-developers.googleblog.com a>

建议的链接(从上一页开始):
https://cloud.google。 com / storage /

这篇关于Google云端硬盘CSS返回404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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