I want to run an Node.js app on the GCP, while having only the scripts uploaded to the App Engine. All the static files are to be placed inside a bucket in Cloud Storage, for easier manipulation. While the app is running on https://netwell.digital, all the static files are to be found inside https://netwell.digital/static/.
So far I have found contradicting info on this and Google Cloud Platform itself only goes as far as:
You can now access your static assets via https://storage.googleapis.com//static/...
Is there a way to have the bucket mapped as this /static/ directory of an App Engine application?
https://sparkx.online/static/..., it is replaced by the bucket url? - GAEfanhttps://storage.googleapis.com/..for every resource inside every page and css is quite nasty. Replacing a placeholder string with the bucket URL server-side is just as unreasonable, plus it cannot be done with files such as CSSs and scripts inside the bucket and doing that client-side is totally a no go. I can't imagine there is no way to have a bucket mapped as a directory for an App Engine app. - marko-36