[bot] break out RPC and shared packages for bot service breakout

This commit is contained in:
41666 2019-04-04 11:13:34 -05:00
parent 544ae65c58
commit 50b5e334a3
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
31 changed files with 233 additions and 111 deletions

View file

@ -34,7 +34,8 @@ export type AppContext = {
config: {
appUrl: string,
dev: boolean,
hotReload: boolean
hotReload: boolean,
sharedSecret: string
},
ui: Next,
uiHandler: Next.Handler,
@ -85,7 +86,8 @@ class Roleypoly {
config: {
appUrl,
dev,
hotReload: process.env.NO_HOT_RELOAD !== '1'
hotReload: process.env.NO_HOT_RELOAD !== '1',
sharedSecret: process.env.SHARED_SECRET
},
io,
ui,