XGProyect / XG-Proyect-v3.x.x

XG Proyect is an OGame clone open-source web application framework designed for creating game clones, particularly those inspired by the popular game OGame, set in a vast and captivating space-themed universe.
https://xgproyect.org
GNU General Public License v3.0
149 stars 101 forks source link

Mixed content error when accessing over https #594

Closed Tsamsiyu1 closed 7 months ago

Tsamsiyu1 commented 7 months ago

Describe the bug When I try accessing it via https I get a Mixed Content Error, because it trys to access the stylesheets and the js scripts via http.

To Reproduce Steps to reproduce the behavior: accessing the game over https (i currently use a cloudflare tunnel)

Expected behavior load css stylesheets and js documents with the same protocole as the parrent document

Desktop (please complete the following information):

I currently try finding where the stylesheets are accessed from but it is really nested^^

Tsamsiyu1 commented 7 months ago

uhm yeah i am stupid. sorry for everyone who has the same problem. make sure you use game.php in the main directory not the game.php in /public/

I know there is no game.php in the main directory but it works.