It’s possible if the bucket is set up to serve as host. I’ve sent a pull request for an implementation I use to simply serve with the bucket name:
https://github.com/wpCloud/wp-stateless/pull/99
I’ve sent a pull request for this feature (https://github.com/wpCloud/wp-stateless/pull/99). It adds a checkbox in the settings to allow overriding “https://storage.googleapis.com” with a domain name that is also the bucket name. You will have to set up the bucket for static hosting on GCP side.
-
This reply was modified 8 years, 10 months ago by mesolithic.
The issue lies with the hypen (-) in your DB name.
I resolved this issue by going to line 599 and wrapping the $sqlDatabase with backticks (`) as per SQL convention.