Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fri/example.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
print("amit")
print("Concore/fri")
4 changes: 2 additions & 2 deletions fri/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER


@app.route('/multiple-files-upload', methods=['POST'])
def upload_file():
@app.route('/upload', methods=['POST'])
def upload():
if 'files[]' not in request.files:
resp = jsonify({'message' : 'No file in the request'})
resp.status_code = 400
Expand Down
2 changes: 1 addition & 1 deletion fri/service_config.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

SERVICES=('upload_file' 'execute')
SERVICES=('upload' 'execute')
for service in "${SERVICES[@]}"
do
name="name="$service
Expand Down