From 3fb952bd65f024d9fd74b6d623db5428ba1522ce Mon Sep 17 00:00:00 2001 From: hmt Date: Thu, 12 Aug 2021 11:29:04 +0200 Subject: [PATCH] update deps --- README.md | 1 + deps.ts | 10 +++++----- mod.ts | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index aa257d9..db303b4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Tinyscale +**Warning, currently tinyscale is not compatible with Deno 1.13.x due to changes in Error handling. Please use 1.12.x instead until further notice.** Depending on your requirements for BigBlueButton and your server capabilities you may need to host more than one instance of BigBlueButton to host meetings for your users. But as soon as you run more than one server you either need to split up servers for different endpoints, let's say one BBB server for Greenlight and another one for moodle, or you install a load balancer that decides for you where new meetings are set up and where users are routed to. If you only use one endpoint for all your meetings you will have to use a load balancer such as scalelite to run more than one BBB server. While scalelite is a very good load balancer it also uses a lot of resources and is somewhat complicated to set up (ymmv). Since my resources were low and I could not affort to rent yet another server to run scalelite, I created tinyscale to solve the issue of load balancing multiple BBB instances. diff --git a/deps.ts b/deps.ts index b482edb..89ba7fd 100644 --- a/deps.ts +++ b/deps.ts @@ -1,9 +1,9 @@ export { deferred } from "https://deno.land/std/async/mod.ts"; export type { Deferred } from "https://deno.land/std/async/mod.ts"; -export { join } from "https://deno.land/std@0.95.0/path/mod.ts"; -export { createHash } from "https://deno.land/std@0.95.0/hash/mod.ts"; -export * as Color from "https://deno.land/std@0.95.0/fmt/colors.ts"; +export { join } from "https://deno.land/std/path/mod.ts"; +export { createHash } from "https://deno.land/std/hash/mod.ts"; +export * as Color from "https://deno.land/std/fmt/colors.ts"; export { createError } from "https://deno.land/x/http_errors@3.0.0/mod.ts"; -export { opine, Router } from "https://deno.land/x/opine@1.3.2/mod.ts"; -export type { ErrorRequestHandler, Request, ParamsDictionary } from "https://deno.land/x/opine@1.3.2/mod.ts"; +export { opine, Router } from "https://deno.land/x/opine@1.7.1/mod.ts"; +export type { ErrorRequestHandler, Request, ParamsDictionary } from "https://deno.land/x/opine@1.7.1/mod.ts"; export const secret: string = Deno.env.get("TINYSCALE_SECRET") || "" \ No newline at end of file diff --git a/mod.ts b/mod.ts index 0701e48..59154ee 100644 --- a/mod.ts +++ b/mod.ts @@ -1,9 +1,9 @@ import { Color, secret } from './deps.ts' -const VERSION = 'v1.6.2' +const VERSION = 'v1.6.3' // give your tinyscale server a secret so it looks like a BBB server if (!secret) throw "No secret set for tinyscale" -console.log(Color.green(`Starting tinyscale ${VERSION}`)) +console.log(Color.green(`Starting tinyscale ${VERSION} on Deno ${Deno.version.deno}`)) console.log(`Your secret is set to ${Color.green(secret)}`) import app from "./app.ts";