Przeglądaj źródła

Fix ajax request

simov 9 lat temu
rodzic
commit
0b8a9870bd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      content/content.js

+ 1 - 1
content/content.js

@@ -50,7 +50,7 @@ function mount () {
           done()
           return
         }
-        m.request({url: window.location.href,
+        m.request({method: 'GET', url: window.location.href,
           deserialize: (body) => {
             done(body)
             return body