syncthing/cmd
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
..
stbench cmd/stbench: Add utility to run benchmark tests 2016-03-25 20:52:20 +00:00
stcompdirs mv internal lib 2015-08-09 09:35:26 +02:00
stdisco all: Correct spelling in comments 2016-05-08 10:54:22 +00:00
stevents Change (default) GUI port from 8080 to 8384 ('ST' in ascii values) 2015-03-26 21:36:06 +01:00
stfileinfo Fix import paths 2015-09-22 19:38:46 +02:00
stfinddevice lib/connections: Refactor 2016-05-04 19:38:12 +00:00
stgenfiles cmd/stgenfiles: Add utility for generating test data 2016-03-25 20:50:48 +00:00
stindex lib/connections: Silence vet and lint warnings 2016-04-13 11:50:51 +00:00
stsigtool cmd/stsigtool: Sign stdin when not given a file to sign, or when given "-" 2016-05-05 19:05:45 +00:00
stvanity cmd/stvanity: x509.GenerateCertificate requires pointer for public key 2016-04-28 22:22:33 +00:00
stwatchfile Add stwatchfile 2015-07-27 19:00:22 +01:00
syncthing gui: Set CSRF stuff earlier (fixes #3138) 2016-05-22 10:26:09 +00:00
todos MPLv2 2015-03-17 16:02:27 +01:00
.gitignore Remove reprecated st* utils 2014-07-01 12:20:25 +02:00