File tree Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
API_URL=http://localhost:8003
2
2
BLOCK_EXPLORER_URL=http://localhost:3000
3
3
BLOCK_LOADER_TRANSACTION_TIMEOUT=5000
4
+ CORS_ENABLED=true
4
5
DATABASE_CONNECTION_POOL_URL=postgres://postgres:password@localhost:5432/ironfish_api_development
5
6
DATABASE_URL=postgres://postgres:password@localhost:5432/ironfish_api_development
6
7
DATADOG_URL=127.0.0.1
Original file line number Diff line number Diff line change 1
1
API_URL = http://localhost:8003
2
2
BLOCK_EXPLORER_URL = test
3
3
BLOCK_LOADER_TRANSACTION_TIMEOUT = 5000
4
+ CORS_ENABLED = true
4
5
DATABASE_CONNECTION_POOL_URL = postgres://postgres:password@localhost:5432/ironfish_api_test
5
6
DATABASE_URL = postgres://postgres:password@localhost:5432/ironfish_api_test
6
7
DATADOG_URL = 127.0.0.1
Original file line number Diff line number Diff line change 16
16
"scripts" : {
17
17
"build" : " tsc -b" ,
18
18
"clean" : " rm -rf ./build" ,
19
- "docker:start" : " docker- compose up -d" ,
20
- "docker:stop" : " docker- compose down" ,
19
+ "docker:start" : " docker compose up -d" ,
20
+ "docker:stop" : " docker compose down" ,
21
21
"lint" : " eslint ." ,
22
22
"lint:fix" : " eslint . --fix" ,
23
23
"prestart" : " bash bin/check_for_dotenv.sh" ,
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export const REST_MODULES = [
52
52
API_URL : joi . string ( ) . required ( ) ,
53
53
BLOCK_EXPLORER_URL : joi . string ( ) . required ( ) ,
54
54
BLOCK_LOADER_TRANSACTION_TIMEOUT : joi . number ( ) . optional ( ) ,
55
+ CORS_ENABLED : joi . boolean ( ) . default ( true ) ,
55
56
DATABASE_CONNECTION_POOL_URL : joi . string ( ) . required ( ) ,
56
57
DATABASE_URL : joi . string ( ) . required ( ) ,
57
58
DATADOG_URL : joi . string ( ) . required ( ) ,
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export async function bootstrapTestApp(): Promise<INestApplication> {
21
21
API_URL : joi . string ( ) . required ( ) ,
22
22
BLOCK_EXPLORER_URL : joi . string ( ) . required ( ) ,
23
23
BLOCK_LOADER_TRANSACTION_TIMEOUT : joi . number ( ) . optional ( ) ,
24
+ CORS_ENABLED : joi . boolean ( ) . default ( true ) ,
24
25
DATABASE_CONNECTION_POOL_URL : joi . string ( ) . required ( ) ,
25
26
DATABASE_URL : joi . string ( ) . required ( ) ,
26
27
DATADOG_URL : joi . string ( ) . required ( ) ,
You can’t perform that action at this time.
0 commit comments