Replace blob PUT request returns 404 due to incorrect replacePath

When replacing a file, there is a 404 response:

Env Request Data
Local image
http://localhost:3000/root/public-project/-/create/master/File000.txt
image
Production
(for reference)
image
https://gitlab.com/sming-gitlab/sample-public-project/-/update/master/File000.txt
n/a

Proposal

It seems the problem is the incorrect request URL. After manually setting the endpoint, I was able to get a success.

image

Problem Good
http://localhost:3000/root/public-project/-/create/master/File000.txt http://localhost:3000/root/public-project/-/update/master/File000.txt
(create) (update)

I think we need to fix the path supplied by GraphQL's replacePath:

image

Edited by Samantha Ming