Ghost/core/test/unit/middleware
Hannah Wolfe 94a4e08809 Add config URLS to CORS whitelist
refs #6644

- urls specified in config.js should be considered whitelisted/trusted
- this is not quite straightforward because config.js is not ready at the point the middleware is required
- tests have been updated to cover these new cases + use rewire to override the internal whitelist cache
2016-04-19 13:39:24 +01:00
..
auth-strategies_spec.js Refactor content deletion 2016-03-22 10:10:09 -05:00
authentication_spec.js Add middleware for handling CORS 2016-03-31 10:58:52 -05:00
cache-control_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
check-ssl_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
cors_spec.js Add config URLS to CORS whitelist 2016-04-19 13:39:24 +01:00
decide-is-admin_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
oauth_spec.js Refactor content deletion 2016-03-22 10:10:09 -05:00
redirect-to-setup_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
serve-shared-file_spec.js fix: update_check_spec setup, serve-shared-file_spec setup 2016-04-14 18:24:53 +02:00
spam-prevention_spec.js move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
static-theme_spec.js Merge pull request #6517 from halfdan/fix-6516 2016-02-18 08:37:32 +00:00
theme-handler_spec.js Removed uneeded jshint comments in order to cleanup the tests 2016-02-17 12:52:43 +00:00
uncapitalise_spec.js Remove should-sinon dependency 2016-03-14 16:52:22 +00:00