diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-06-14 14:29:47 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-06-14 14:29:47 -0500 |
commit | cef133031e501f8f73c66a379de38b1041287743 (patch) | |
tree | b628150cbee4facbcbfc06599baaf4c108949995 /src/env.ts | |
parent | 09b78a46343088a2790dab067bd4fd8384957311 (diff) | |
download | voidsky-cef133031e501f8f73c66a379de38b1041287743.tar.zst |
Add base auth & ucan request flow (web only)
Diffstat (limited to 'src/env.ts')
-rw-r--r-- | src/env.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/env.ts b/src/env.ts new file mode 100644 index 000000000..78fb88acc --- /dev/null +++ b/src/env.ts @@ -0,0 +1,5 @@ +if (typeof process.env.REACT_APP_AUTH_LOBBY !== 'string') { + throw new Error('ENV: No auth lobby provided') +} + +export const AUTH_LOBBY = process.env.REACT_APP_AUTH_LOBBY |