Skip to content

Commit

Permalink
feat: add localhost test system
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn <glenn@not-tech.support>
  • Loading branch information
promise committed Oct 2, 2023
1 parent d35676e commit ebee863
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/systems/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import debug from "./debug";
import localhost from "./localhost";
import shinfo from "./shinfo";
import shqueue from "./shqueue";

Expand All @@ -8,4 +9,4 @@ export interface System {
encryptionKey: string;
}

export default { debug, shinfo, shqueue } satisfies Record<string, System>;
export default { debug, localhost, shinfo, shqueue } satisfies Record<string, System>;
7 changes: 7 additions & 0 deletions src/systems/localhost.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { System } from ".";

export default {
name: "localhost",
callbackUri: "http://localhost:1337/auth",
encryptionKey: "localhost",
} satisfies System;

0 comments on commit ebee863

Please sign in to comment.