From 31b270b0996a1c75fdc6b3495592ce6788bfe463 Mon Sep 17 00:00:00 2001 From: FASDYAHLF <96416127+FASDYAHLF@users.noreply.github.com> Date: Tue, 9 Jan 2024 21:23:48 +0800 Subject: [PATCH] Create okteto VPS --- okteto VPS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 okteto VPS diff --git a/okteto VPS b/okteto VPS new file mode 100644 index 0000000..5d18fc2 --- /dev/null +++ b/okteto VPS @@ -0,0 +1,17 @@ + + + + addEventListener( + "fetch",event => { + let url=new URL(event.request.url); + url.hostname="okvtwo-xiaotianbumei.cloud.okteto.net"; + url.protocol='https'; + let request=new Request(url,event.request); + event. respondWith( + fetch(request) + ) + } +) + + +