Bug 45256: make upload endpoint for Commons local

Change-Id: I25e0c95f2332e15043a82367d86d432bf77f3117