0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
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
..
api fix email error log templat 2016-04-13 14:51:00 +08:00
apps Minor internal apps improvements 2016-04-14 19:05:48 +01:00
config Minor internal apps improvements 2016-04-14 19:05:48 +01:00
controllers move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
data Add permissions models & relations for clients 2016-04-14 19:02:56 +01:00
errors Migration messaging improvements 2016-03-22 09:59:22 +00:00
events Make sure events gets initialized 2016-04-09 19:52:37 -05:00
helpers Fixing undefined page case for page_url helper 2016-04-14 11:22:23 +01:00
mail Refactor mail service 2016-02-10 16:31:42 -06:00
middleware Add config URLS to CORS whitelist 2016-04-19 13:39:24 +01:00
models add events for post scheduling 2016-04-18 16:44:41 +02:00
permissions Harvest server side strings 2015-12-19 12:12:16 +01:00
routes Minor internal apps improvements 2016-04-14 19:05:48 +01:00
storage Serve immediate 404 for static files (no fallthru) 2016-02-21 19:17:27 +00:00
translations add events for post scheduling 2016-04-18 16:44:41 +02:00
utils Remove io.js reference from startup-check 2016-04-07 23:06:07 -05:00
views move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
filters.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
ghost-server.js Harvest server side strings 2015-12-19 12:12:16 +01:00
i18n.js Fix jsDoc on i18n.t() 2016-02-22 01:57:22 +01:00
index.js Refactor content deletion 2016-03-22 10:10:09 -05:00
update-check.js deps: bluebird@3.3.3 2016-03-01 15:17:20 -06:00