Ver código fonte

fix: Safari + iOS load bug

NGPixel 8 anos atrás
pai
commit
a96a7efd9d
2 arquivos alterados com 3 adições e 1 exclusões
  1. 1 0
      config.sample.yml
  2. 2 1
      fuse.js

+ 1 - 0
config.sample.yml

@@ -13,6 +13,7 @@ title: Wiki
 # ---------------------------------------------------------------------
 # Full public path to the site, without the trailing slash
 # ---------------------------------------------------------------------
+# INCLUDE CLIENT PORT IF NOT 80/443!
 
 host: http://localhost
 

+ 2 - 1
fuse.js

@@ -50,7 +50,8 @@ const ALIASES = {
   'simplemde': 'simplemde/dist/simplemde.min.js',
   'socket-io-client': 'socket.io-client/dist/socket.io.js',
   'vue': (dev) ? 'vue/dist/vue.js' : 'vue/dist/vue.min.js',
-  'vue-lodash': 'vue-lodash/dist/vue-lodash.min.js'
+  'vue-lodash': 'vue-lodash/dist/vue-lodash.min.js',
+  'vue-resource': (dev) ? 'vue-resource/dist/vue-resource.js' : 'vue-resource/dist/vue-resource.es2015.js'
 }
 const SHIMS = {
   jquery: {