Whenever I commit and sync changes to my github repo which has my website. If i try to go to the domain that was given to me "https://nameofwebsite.appwrite.network" it wont work, i get this error "Uncaught SyntaxError: Unexpected token '<'" and whenever i update the repo nothing changes. BUT it works if i use another domain like "branchName.appwrite.network" then it works.
TL;DR
Developers facing issue with Appwrite sites domain not updating when changes are pushed to GitHub repo. Error "Uncaught SyntaxError: Unexpected token '<'" occurs with main domain, while subdomain works fine. Solution: Try using a different domain or contact Appwrite support for assistance.