Can't load gltf file

I am using just the code provided in the “Marker Based Example”

When I change the path to my own gltf file, it doesnt work. the html file and the gltf file are in the same place on a web server What am I doing wrong??

the gltf file works in the viewers. the bin file is embedded.

Alright, I figured out the problem. THE PATH TO THE FILE MUST JUST BE /PATH/TO/FILE. Incase google ever leads anyone to this page who has the same problem. Do NOT put the full https://www. path. You only need the path leading to where the html file is.