mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 09:08:16 +08:00
add cf worker poc
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// @ts-ignore
|
||||
import { connect } from 'cloudflare:sockets';
|
||||
|
||||
export const onRequest: PagesFunction<Env> = async (context) => {
|
||||
export const onRequest: PagesFunction<any> = async (context) => {
|
||||
console.log('start fetch');
|
||||
const socket = connect({
|
||||
hostname: 'neverssl.com',
|
||||
|
||||
Reference in New Issue
Block a user