[cli] It would be nice if each uploaded item showed its full URL
-
Hi! I'm a Cloudron user for a while, but only today I discovered this awesome app and loved its simplicity.
I'd like to suggest two simple features:1 - After using CLI "surfer put ..." listing could show also the full address of the files I uploaded (so I could just click to open it).
Example:
Uploading /foo/bar.html -> https://myapp.com/foo/bar.html Uploading /foo/baz.html -> https://myapp.com/foo/baz.html
2 - If I omit the "/" at the end of CLI "surfer put", like: "surfer put myimg.png", I think it should be implicit that I want to upload the file to the root dir (/).What do you guys think?
Thanks! -
-
Great suggestions, both are fixed for next release:
https://git.cloudron.io/cloudron/surfer/-/commit/27e6f758b075c9891138fc4da9ad6b561fe32977
https://git.cloudron.io/cloudron/surfer/-/commit/d5043f2be7dd8a3a21c2c57b637781f646d15757 -
-
Nice! Thank you very much, @nebulon.
-
Hi @nebulon, the updates are almost perfect, but the link is incorrect. My test showed me this:
Uploading /file.webp -> https://domain.app/api/files/file.webp
The correct would be:
Uploading /file.webp -> https://domain.app/file.webp
Thx again
-
Perfect, now it is working as expected. You're fast!