Search of commands doesn't return anything

Ivancas

Well-known member
Affected version
2.3.2
This post has a command (php cmd.php dp:migrate-data):
I got an image good.svg storing in data/images/good.svg in my server which I used for making a node background, I refer it with background-image: url(data/images/good.svg); in extra.less.

I can see the image directly by https://www.mysite.com/data/images/good.svg .

Then for testing purpose, I just tried to move the image to R2 with the command php cmd.php dp:migrate-data and it's a success. Deleted the original image.

Then change the line in extra.less to background-image: url(https://data/mysite.com/images/good.svg) . The image doesn't show up, just showing a blank space. If I go to https://data/mysite.com/images/good.svg directly by the browser, I can see an SVG file, but not the picture, just the SVG codes.

So what's that mean? Cloudflare R2 won't render the SVG to an image? It's ok if I put all background images in local server as it won't expand to a very large number. I just want to know the reasons. Thanks.

If I try to search for "dp:migrate-data" on the thread no results are returned:
1723930876390.webp
 
Back
Top Bottom