hmt 3 жил өмнө
parent
commit
ec3b8bb59c
2 өөрчлөгдсөн 1 нэмэгдсэн , 3 устгасан
  1. 1 1
      bbb.ts
  2. 0 2
      deps.ts

+ 1 - 1
bbb.ts

@@ -31,7 +31,7 @@ export class BBB {
   // write new query for target bbb server
   rewritten_query = (server: server) => {
     const checksum_outgoing = this.generate_checksum(server.secret)
-    return new URL(`${server.host}${this.url.replace(this.checksum_incoming, checksum_outgoing)}`)
+    return `${server.host}${this.url.replace(this.checksum_incoming, checksum_outgoing)}`
   }
   // check if request is autheticated with correct checksum
   authenticated = (secret: string) => {

+ 0 - 2
deps.ts

@@ -6,8 +6,6 @@ export {
   opine,
   Router,
 } from "https://deno.land/x/opine@1.3.2/mod.ts";
-// export { proxy } from "https://deno.land/x/opineHttpProxy@2.5.0/mod.ts";
-export { proxy } from "https://raw.githubusercontent.com/hmt/opine-http-proxy/main/mod.ts";
 export type {
   ErrorRequestHandler,
   Request,