Skip to content

Instantly share code, notes, and snippets.

View WingLim's full-sized avatar
🎯
Focusing

WingLim WingLim

🎯
Focusing
View GitHub Profile
@WingLim
WingLim / Caddyfile
Last active April 4, 2020 14:15
Use miniflus, caddy and rsshub with docker
rss.yourdomain.com {
gzip
proxy / miniflux:8080 {
transparent
}
}
rsshub.yourdomain.com {
gzip
proxy / rsshub:1200 {
@WingLim
WingLim / index.js
Last active November 10, 2019 10:28
YuQue in Ali Serverless
'use strict';
const https = require('https');
function checkQueries(queries) {
if (typeof queries !== 'object') {
return false;
}
const { branch, token, repos } = queries || {};
if (!branch || !token || !repos) {