瀏覽代碼

Fix ajax request

simov 9 年之前
父節點
當前提交
0b8a9870bd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      content/content.js

+ 1 - 1
content/content.js

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