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

Error: Website requested a subresource #48

Open
Henry-Turtle opened this issue Jan 16, 2023 · 1 comment
Open

Error: Website requested a subresource #48

Henry-Turtle opened this issue Jan 16, 2023 · 1 comment

Comments

@Henry-Turtle
Copy link

Hey there!
My project worked just fine when running it off "npm run start" ("electron ."). I compiled my website for MacOS, but when I tried to open the app I got a blank white page. Seeking more information, I opened developer tools and Chromium gave me the following yellow error:

[Deprecation] The website requested a subresource from a network that it could only access because of its users' privileged network position. These requests expose non-public devices and servers to the internet, increasing the risk of a cross-site request forgery (CSRF) attack, and/or information leakage. To mitigate these risks, Chrome deprecates requests to non-public subresources when initiated from non-secure contexts, and will start blocking them in Chrome 92 (July 2021). See https://chromestatus.com/feature/5436853517811712 for more details.

I have php installed globally and the project worked just fine on windows. Why isn't is working here?
Thanks!

@aj-techsoul
Copy link
Owner

Sorry, for late Reply, it could be possible due to https mandates. check that the website uses https or http. check the .htaccess , try to toggle https: and http.

Also. i am working on better option that this with new technologies. So that we can get more power of php and desktop and mobile based. So i am unable to focus more on this.

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