Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS not loading after changing the port in Nginx #136

Open
hamedprog opened this issue Apr 22, 2024 · 2 comments
Open

CSS not loading after changing the port in Nginx #136

hamedprog opened this issue Apr 22, 2024 · 2 comments

Comments

@hamedprog
Copy link

When I clone the project and run it using Nginx, everything works fine. However, after changing the port to a value other than 3000, the site fails to display correctly, and an SVG file is downloaded containing all the site’s graphical elements.

Interestingly, when I tested the following downloadable version from the website: “Download Nginx-Server For Windows With OST Source” The site displays correctly even after changing the port. In the “ost” package, the “asset” folder is missing, and its subfolders are located in the project’s root directory. [Additionally, after copying the “html” folder from “ost” and transferring it to my own repository (which is a clone of the “openspeedtest” repo), changing the port still works as expected]

@openspeedtest
Copy link
Owner

@hamedprog once you've changed the port number, try accessing the application through an incognito window.

@hamedprog
Copy link
Author

hamedprog commented May 7, 2024

@hamedprog once you've changed the port number, try accessing the application through an incognito window.

No, the problem was not solved with these changes. The issue occurs during the loading time of the SVG file. I have submitted a pull request for this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants