Commit 9a58b282 authored by ale's avatar ale

rename the receiver endpoint to /submit

parent d5bdba48
......@@ -85,7 +85,7 @@ def main():
'to the backup root)')
parser.add_option(
'--submit-url', dest='submit_url', metavar='URL',
default='https://offlinescan.autistici.org/receiver',
default='https://offlinescan.autistici.org/submit',
help='URL to submit results to (default: %default)')
opts, args = parser.parse_args()
if not args:
......
......@@ -24,7 +24,7 @@ def before_request():
g.redis = get_redis_connection()
@app.route('/')
@app.route('/submit')
def receive():
try:
data = json.load(request.data)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment