Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
use SimpleCount
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Apr 19, 2017
1 parent 87e735f commit 3a79fd8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion routes/all.js
@@ -1,4 +1,7 @@
module.exports = function(req, res, next) {
var https = require('https');

module.exports = function (req, res, next) {
https.get(`https://api.prprpr.me/count/?id=DIYgod-Weibo2RSS&action=add`);
res.header('Access-Control-Allow-Origin', '*');
res.header('Access-Control-Allow-Headers', 'Content-Type, Content-Length, Authorization, Accept, X-Requested-With , yourHeaderFeild');
res.header('Access-Control-Allow-Methods', 'PUT, POST, GET, DELETE, OPTIONS');
Expand Down

0 comments on commit 3a79fd8

Please sign in to comment.