hexiaojie 2 months ago
parent
commit
d308ab0734
3 changed files with 4 additions and 4 deletions
  1. 1 1
      BuildPush/webgl/config.json
  2. 1 1
      BuildPush/webgl/css/style.css
  3. 2 2
      BuildPush/webgl/index.html

+ 1 - 1
BuildPush/webgl/config.json

@@ -1,5 +1,5 @@
 {
-  "compressionType": "Brotil",
+  "compressionType": "Gzip",
   "buildPath": "https://cdn.goufuguiwxw.com/ResWebGlTest/gfg/Build/",
   "compressionConfigs": {
     "Disabled": {

+ 1 - 1
BuildPush/webgl/css/style.css

@@ -39,7 +39,7 @@ html {
   /* 基准宽度 */
   height: 640px;
   /* 基准高度 */
-  background: url('Build/webgl.jpg') center / cover;
+  background: url('https://cdn.goufuguiwxw.com/ResWebGlTest/gfg/Build/webgl.jpg') center / cover;
   /* 确保canvas初始位置正确 */
   position: relative;
   left: 0;

+ 2 - 2
BuildPush/webgl/index.html

@@ -5,8 +5,8 @@
   <meta charset="utf-8">
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   <title>Unity WebGL Player | 万世镜</title>
-  <link rel="shortcut icon" href="TemplateData/favicon.ico">
-  <link rel="stylesheet" href="TemplateData/style.css">
+  <!-- <link rel="shortcut icon" href="TemplateData/favicon.ico">
+  <link rel="stylesheet" href="TemplateData/style.css"> -->
   <link rel="stylesheet" href="https://cdn.goufuguiwxw.com/ResWebGlTest/gfg/css/style.css">
   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
   <meta name="screen-orientation" content="portrait">