tangled
alpha
login
or
join now
wish13yt.github.io
/
pistributed
0
fork
atom
Distributed and decentralized pi calculation
0
fork
atom
overview
issues
pulls
pipelines
change to api/getpi
wish13yt.github.io
6 months ago
db29faa4
771a6f11
+1
-1
1 changed file
expand all
collapse all
unified
split
src
server
app.py
+1
-1
src/server/app.py
reviewed
···
7
7
name = os.getenv("NAME")
8
8
email = os.getenv("EMAIL")
9
9
10
10
-
@app.route('/getpi', methods=['GET'])
10
10
+
@app.route('/api/getpi', methods=['GET'])
11
11
def getpi():
12
12
if request.method == 'GET':
13
13
try: