Skip to content

Commit 8be5db4

Browse files
authored
Merge pull request #4 from amit-62/dev
fri udated
2 parents 4a20177 + 737514c commit 8be5db4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

fri/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
print("amit")
1+
print("Concore/fri")

fri/server/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
1414

1515

16-
@app.route('/multiple-files-upload', methods=['POST'])
17-
def upload_file():
16+
@app.route('/upload', methods=['POST'])
17+
def upload():
1818
if 'files[]' not in request.files:
1919
resp = jsonify({'message' : 'No file in the request'})
2020
resp.status_code = 400

fri/service_config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
SERVICES=('upload_file' 'execute')
3+
SERVICES=('upload' 'execute')
44
for service in "${SERVICES[@]}"
55
do
66
name="name="$service

0 commit comments

Comments
 (0)