Skip to content

Commit b86dfb6

Browse files
committed
developer_portal_api: I have been tricked by an LLM slop page on the web, and this API does not work for clients after all.
1 parent 0e3c0b6 commit b86dfb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appstore/developer_portal_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ def download_archive():
773773
uid = get_uid() # unused, does auth so AI scrapers don't waste all our bandwidth, though
774774

775775
archive = AvailableArchive.query.order_by(AvailableArchive.created_at.desc()).limit(1).one()
776-
return redirect(get_link_for_archive(archive.filename))
776+
return jsonify(success=True, url=get_link_for_archive(archive.filename))
777777

778778
def init_app(app, url_prefix='/api/dp'):
779779
global parent_app

0 commit comments

Comments
 (0)