Files
syncthing-arm/cmd/syncthing
Jakob Borg 4bc2b3f369 gui: Set CSRF stuff earlier (fixes #3138)
We need to set these properties *before* Angular starts making requests,
and doing that from the response to a request is too late. The obvious
choice (to me) would be to use the angular $cookies service, but that
service isn't available until after initialization so we can't use it.
Instead, add a special file that is loaded by index.html and includes
the info we need before the JS app even starts running.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3152
2016-05-22 10:26:09 +00:00
..
2014-03-30 21:59:40 +02:00
2015-12-23 15:31:12 +00:00
2015-12-23 15:31:12 +00:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2016-03-10 13:24:36 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-09-22 19:38:46 +02:00
2016-05-04 19:38:12 +00:00
2015-03-17 16:02:27 +01:00