Chrome CSRF protection breaks AngluarJS & JQuery code in Electron?


Hi guys and girls,

Recently I started working on my first electron app and I have to say… I love it! :slight_smile: However, I bumped into a problem, hope someone may be able to help me out here.

I would like to use an AngluarJS + JQuery admin template with electron to quickly create a cool looking app.

I found out that AngluarJS works best running on a HTTP server rather than running it localy (C:\ drive), it breaks the theme because of some CSRF protection policies. Now I googled my ass off but I don’t know how to use this theme with Electron without it breaking the AngluarJS + JQuery code. I think that simulating some kind of webserver will solve it, how do I do this and is there maybe a better solution?

Thanks in advance people!

Here is some love for the developers and the community: <3.


Nobody? :frowning:


I am by no means an expert on this but have you considered you can run live scripts on there. Also having a test server while you are learning or building apps is always useful.