Skip to content

Instantly share code, notes, and snippets.

View San-quan's full-sized avatar
💭
离线

SNA QUAN San-quan

💭
离线
View GitHub Profile
@San-quan
San-quan / auto-add-ssl-workers.js
Created November 1, 2025 04:02 — forked from eooce/auto-add-ssl-workers.js
auto-add-ssl-workers
export default {
async fetch(request, env, ctx) {
const url = new URL(request.url);
// 处理 API 请求:支持 POST (/api/add-ssl) 和 GET (/?...)
if (
(url.pathname === '/api/add-ssl' && request.method === 'POST') ||
(url.pathname === '/' && request.method === 'GET' && url.searchParams.has('zoneId'))
) {
return handleApiRequest(request, url.searchParams);
[common]
emoji = true
list = false
sort = false
include_remark = .*
exclude_remark =
append_proxy_type = false
udp = true
tfo = false
scv = false
@San-quan
San-quan / Clou.ini
Last active October 28, 2025 21:44
56
[common]
emoji = true
list = false
sort = false
include_remark = .*
exclude_remark =
append_proxy_type = false
udp = true
tfo = false
scv = false