Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Mar 30, 2022
1 parent 60b1260 commit 3462495
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -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}`))
Expand Down

0 comments on commit 3462495

Please sign in to comment.