You are here

constant FARM_ACCESS_DEFAULT_ALLOWED_ORIGINS in farmOS 7

2 uses of FARM_ACCESS_DEFAULT_ALLOWED_ORIGINS
farm_access_add_cors_headers in modules/farm/farm_access/farm_access.module
Add CORS headers.
farm_access_settings_form in modules/farm/farm_access/farm_access.module
Access settings form.

File

modules/farm/farm_access/farm_access.module, line 8
Farm Access module.

Code

define('FARM_ACCESS_DEFAULT_ALLOWED_ORIGINS', "https://v1.farmos.app\nhttps://farmos.app");