Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 073d53c

Browse filesBrowse files
committed
Extra
1 parent 9b6e2a9 commit 073d53c
Copy full SHA for 073d53c

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed

‎backend/app/__init__.py

Copy file name to clipboardExpand all lines: backend/app/__init__.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
app = Flask(__name__) #Flask class takes one parameter which is name.
1515
#This creates a class for endpoints. e.g. www.google.com/drive/
1616
#Here /drive is an endpoint to access google drive.
17-
CORS(app, resources={r'/*':{'origins':'http://localhost:5000'}})
17+
CORS(app, resources={r'/*':{'origins':'http://localhost:3000'}})
1818
blockchain = Blockchain()
1919
wallet = Wallet(blockchain)
2020
transaction_pool = TransactionPool()
@@ -95,7 +95,7 @@ def route_transactions():
9595

9696

9797

98-
ROOT_PORT = 5001
98+
ROOT_PORT = 5000
9999
PORT = ROOT_PORT
100100

101101
if os.environ.get('PEER') == 'True':
0 Bytes
Binary file not shown.

‎frontend/src/config.js

Copy file name to clipboardExpand all lines: frontend/src/config.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const API_BASE_URL = 'http://localhost:5001';
1+
const API_BASE_URL = 'http://localhost:5000';
22
const NANOSECONDS_PY = 1;
33
const MICROSECONDS_PY = 1000 * NANOSECONDS_PY;
44
const MILLISECONDS_PY = 1000 * MICROSECONDS_PY;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.