Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to remove s3:// prefix new file urls #158

Closed
tonyalaribe opened this issue Sep 28, 2017 · 3 comments
Closed

how to remove s3:// prefix new file urls #158

tonyalaribe opened this issue Sep 28, 2017 · 3 comments

Comments

@tonyalaribe
Copy link

My urls look like this: "s3://https://s3-us-west-2.amazonaws.com/test-past3/s2/filesxx/jjj44/6564482-png" which isnt a valid url, and i use the urls directly in the browser. How do i have the s3 prefix, and the prefix for other storage backends (google, swift, etc) ?

@tonyalaribe
Copy link
Author

I think i understand now. The urls are stow specific urls. But how about getting a url that would work outside of the stow context?

@andersondalmina
Copy link

@tonyalaribe I think you can use: item.Url().Path
Try and see if it's what you need ;)

@jasonhancock
Copy link
Contributor

There have been a couple of other asks for getting public facing urls:

#213
#187

Something for us to consider. Closing this out in favor of the others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants