标签:nbsp expires blog main maximum control ice ase content
本地启动server的时候总是去读"/"的,
但到了服务器上,如果当前目录是服务器根目录下的一个文件夹,就应该设:
<head> <meta charset="utf-8"> <title data-ng-bind="pageTitle"></title> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="0"> <base href="/文件夹名/"> <link rel="stylesheet" href="css/vendor.css"> <link rel="stylesheet" href="css/main.css"><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> </head>
标签:nbsp expires blog main maximum control ice ase content
原文地址:http://www.cnblogs.com/haimingpro/p/6490179.html