本质上,我试图在本地编写我的google地图项目,但我只是得到了这些错误。
Google has disabled use of the Maps API for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps Javascript API v3 on this site....
似乎其他答案是为google API的另一个版本编写的,因为我已经尝试了建议的修复,并列出了以下白名单:
*humboldt.edu/*
*lo
我已经在我的.htaccess文件中尝试了以下所有操作。
#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#RewriteEngine On
#RewriteCond %{SERVER_PORT} !443
#RewriteRule ^(/(.*))?$ https://%{HTTP_HOST}/$1 [R=301,L]
#RewriteEngine On
#RewriteCond %{HTTPS} off
#Rewrit