More specific access control headers to support cross origin Authorization

Pretty sign in page
Verify existing JWT on application mount
This commit is contained in:
Rick Watson
2019-05-19 17:51:57 +01:00
parent 04e852f7d9
commit 396d0333b6
9 changed files with 102 additions and 70 deletions

View File

@ -19,7 +19,8 @@ monitor_speed = 115200
build_flags=
-D NO_GLOBAL_ARDUINOOTA
; -D ENABLE_CORS
-D ENABLE_CORS
-D CORS_ORIGIN=\"http://localhost:3000\"
lib_deps =
NtpClientLib@>=2.5.1,<3.0.0
ArduinoJson@>=6.0.0,<7.0.0