Babylon.js project start-organization

Hey Jelster! I’m just returning to the topic and noting you mentioned hosting a static BJS website.

I was wondering if there are any “tricks” to setting this up on something like Google Cloud Storage?
I have so far:

  • created a basic BJS HTML using npm and TS setup that I found on the web.
  • I’ve subdomained my website, specifically so that I can connect BJS to the subdomain only.
  • I copied all the folders from my PC onto the Google Cloud Storage bucket,
  • and have set my bucket to “public”,
  • and set the website configuration for my main page as: MyFolderInsideBucket/index.html
  • and presuming this is correct, I’ve hit okay and checked the website.

Unfortunately it’s showing me a black screen.

I tested this with a basic/blank HTML test page and index.html file, and that showed correctly.
Because I’m using BJS, do I need to do something special in this process? Would appreciate any pointers!

EDIT: Seems that if I go directly to the full address in my URL, the BJS website pops up as intended, ie. when visiting: subdomain.mysite.com/subfolder/index.html

But for some reason, setting the main page suffix in Google Cloud Storage as subfolder/index.html doesn’t seem to work.

This is a bit off topic, but any idea on whether subfolders can be accepted? or if i need to change the format I used?