aboutsummaryrefslogtreecommitdiff
path: root/pages/panel.html
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-01-19 02:37:35 -0300
committerPitu <[email protected]>2017-01-19 02:37:35 -0300
commit83aaef0f824e8776ddf4c60a44e6d56c21a0efcc (patch)
treeb9474b361cc328d43fe5bfd4949702c6566819f2 /pages/panel.html
parentSmall fixes (diff)
downloadhost.fuwn.me-83aaef0f824e8776ddf4c60a44e6d56c21a0efcc.tar.xz
host.fuwn.me-83aaef0f824e8776ddf4c60a44e6d56c21a0efcc.zip
Changed request system and post data
Changed from XMLHttpRequest to Axiios and made every POST call to look for params or json and not pass the values as headers. Token is still a header though
Diffstat (limited to 'pages/panel.html')
-rw-r--r--pages/panel.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/panel.html b/pages/panel.html
index 641b372..a8ae048 100644
--- a/pages/panel.html
+++ b/pages/panel.html
@@ -6,6 +6,7 @@
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.15.3/axios.min.js"></script>
<script type="text/javascript" src="/js/panel.js"></script>
</head>
<body>