浏览代码

add CORS info to website, fixes #110

jomo 10 年之前
父节点
当前提交
94fe61e076
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      views/index.jade

+ 8 - 0
views/index.jade

@@ -253,6 +253,14 @@ block content
           a(id="meta" class="anchor")
           a(href="#meta")
             h2 Meta
+
+          section
+            a(id="meta-cors" class="anchor")
+            a(href="#meta-cors")
+              h3 CORS
+            p
+              | Crafatar supports CORS so you can make AJAX request from within the browser!
+
           section
             a(id="meta-http-headers" class="anchor")
             a(href="#meta-http-headers")