hmt 3 gadi atpakaļ
vecāks
revīzija
3462495054
3 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 1 1
      README.md
  2. 3 3
      deps.ts
  3. 1 1
      mod.ts

+ 1 - 1
README.md

@@ -69,7 +69,7 @@ Then create a `servers.json` file like this here:
 Now you are ready to start the script. Make sure to have an environment variable
 called `TINYSCALE_SECRET`:
 
-    TINYSCALE_SECRET=some_secret_string deno run --allow-net --allow-read --allow-env https://deno.land/x/tinyscale@v1.7.0/mod.ts
+    TINYSCALE_SECRET=some_secret_string deno run --allow-net --allow-read --allow-env https://deno.land/x/tinyscale@v1.8.0/mod.ts
 
 tinyscale will then run on port 3005 and you will have to set up your reverse
 proxy so that it can pick up requests. If you prefer a different port you can

+ 3 - 3
deps.ts

@@ -3,8 +3,8 @@ export type { Deferred } from "https://deno.land/std/async/mod.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 { HttpError } from "https://deno.land/x/http_error@0.1.2/mod.ts";
-export { opine, Router } from "https://deno.land/x/opine@1.9.1/mod.ts";
-export type { ErrorRequestHandler, Request, ParamsDictionary } from "https://deno.land/x/opine@1.9.1/mod.ts";
+export { HttpError } from "https://deno.land/x/http_error@0.1.3/mod.ts";
+export { opine, Router } from "https://deno.land/x/opine@2.1.5";
+export type { ErrorRequestHandler, Request, ParamsDictionary } from "https://deno.land/x/opine@2.1.5";
 export const secret: string = Deno.env.get("TINYSCALE_SECRET") || ""
 export interface server { host: string; secret: string };

+ 1 - 1
mod.ts

@@ -1,6 +1,6 @@
 import { Color, secret } from './deps.ts'
 
-const VERSION = 'v1.6.4'
+const VERSION = 'v1.8.0'
 // 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} on Deno ${Deno.version.deno}`))