Преглед изворни кода

Favicon changed to a data URL to prevent re-requests in some circumstances. #21

n1474335 пре 8 година
родитељ
комит
8882805830
5 измењених фајлова са 9 додато и 2 уклоњено
  1. 8 1
      Gruntfile.js
  2. 0 0
      build/prod/cyberchef.htm
  3. 0 0
      build/prod/index.html
  4. 0 0
      build/prod/scripts.js
  5. 1 1
      src/html/index.html

+ 8 - 1
Gruntfile.js

@@ -355,9 +355,16 @@ module.exports = function(grunt) {
                     css: "type='text/css'"
                 }
             },
-            prod: {
+            compiled: {
                 src: "build/prod/cyberchef.htm",
                 dest: "build/prod/cyberchef.htm"
+            },
+            prod: {
+                options: {
+                    tag: "__inline"
+                },
+                src: "build/prod/index.html",
+                dest: "build/prod/index.html"
             }
         },
         chmod: {

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
build/prod/cyberchef.htm


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
build/prod/index.html


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
build/prod/scripts.js


+ 1 - 1
src/html/index.html

@@ -29,7 +29,7 @@
         <meta name="description" content="The Cyber Swiss Army Knife" />
         <meta name="keywords" content="base64, hex, decode, encode, encrypt, decrypt, compress, decompress, regex, regular expressions, hash, crypt, hexadecimal, user agent, url, certificate, x.509, parser, JSON, gzip,  md5, sha1, aes, des, blowfish, xor" />
 
-        <link rel="icon" type="image/png" href="images/favicon.ico" />
+        <link rel="icon" type="image/png" href="images/favicon.ico?__inline" />
         <link href="styles.css" rel="stylesheet" />
     </head>
     <body>

Неке датотеке нису приказане због велике количине промена