File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
package-testing/node-sdk-relay Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,5 +31,3 @@ $ yarn run start:prod
31
31
# unit tests
32
32
$ yarn run test
33
33
```
34
-
35
-
Original file line number Diff line number Diff line change @@ -8,5 +8,7 @@ SDK="https://github.com/Eppo-exp/node-server-sdk.git"
8
8
9
9
# Run the poller
10
10
yarn install
11
+ # Build the application
12
+ yarn build
11
13
echo " Listening on port ${SDK_RELAY_PORT} "
12
14
yarn start:prod
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export class AppController {
43
43
const currentInstance = getInstance ( ) ;
44
44
currentInstance . stopPolling ( ) ;
45
45
await init ( {
46
- apiKey : 'test ',
46
+ apiKey : process . env . EPPO_API_KEY || 'NOKEYSPECIFIED ',
47
47
assignmentLogger : getLogger ( ) ,
48
48
pollAfterFailedInitialization : true ,
49
49
banditLogger : getLogger ( ) ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ async function bootstrap() {
10
10
logger = new RelayLogger ( ) ;
11
11
12
12
await init ( {
13
- apiKey : 'test ',
13
+ apiKey : process . env . EPPO_API_KEY || 'NOKEYSPECIFIED ',
14
14
assignmentLogger : logger ,
15
15
pollAfterFailedInitialization : true ,
16
16
banditLogger : logger ,
You can’t perform that action at this time.
0 commit comments