Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Custom Domain Url not returned correctly #19

Open
victorybiz opened this issue Oct 15, 2017 · 4 comments
Open

Custom Domain Url not returned correctly #19

victorybiz opened this issue Oct 15, 2017 · 4 comments

Comments

@victorybiz
Copy link

My bucket name is a custom domain static.domain.com which point to directly to my bucket.

Setting GOOGLE_CLOUD_STORAGE_API_URI=null, $disk->url('my_file.ext'); returns correctly with https://storage.googleapis.com/static.domain.com/my_file.ext

When this is set GOOGLE_CLOUD_STORAGE_API_URI=http://static.domain.com, it returns http://static.domain.com/static.domain.com/my_file.ext which is not valid instead of http://static.domain.com/my_file.ext.

Any fix?

@dehypnosis
Copy link

@victorybiz hey my friend i have a same issue, did you have ever made a fork or some fixed version?

@victorybiz
Copy link
Author

@dehypnosis how are you doing my friend, yes I made a fork which currently fix the custom domain URL issue and is working for me.
https://github.com/victorybiz/flysystem-google-cloud-storage

@BuddhiAbeyratne
Copy link

please make a pull request @victorybiz

@arnovbr
Copy link

arnovbr commented Oct 4, 2019

This is solved: Superbalist/flysystem-google-cloud-storage#66

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

No branches or pull requests

6 participants