浏览代码

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()
           return
         }
-        m.request({url: window.location.href,
+        m.request({method: 'GET', url: window.location.href,
           deserialize: (body) => {
             done(body)
             return body