There might be issues with specifying variables on the window object.
A hypothetical scenario:
Auth should be required/not required in specific environments.
Consider an env-variable requiresAuth: boolean.
If specified in runtime on the window object, a user could easily manipulate this one from the client.
Or am I missing something?
Cheers!
There might be issues with specifying variables on the window object.
A hypothetical scenario:
Auth should be required/not required in specific environments.
Consider an env-variable requiresAuth: boolean.
If specified in runtime on the window object, a user could easily manipulate this one from the client.
Or am I missing something?
Cheers!