Ghost/core/server/api
Aileen Nowak 7cb57bff3d Find favicon in Ghost (#7713)
refs #7688

Adds logic in theme settings api to either serve an uploaded favicon and give it the type `upload` or use the default settings `default`, which will serve the favicon from our shared directory.

TODOs for #7688:
- [X] Figure out, which favicon should be used (uploaded or default) -> this PR
- [ ] Serve and redirect the favicon for any browser requests, incl. redirects
- [ ] Upload favicon via `general/settings` and implement basic admin validations -> [WIP] TryGhost/Ghost-Admin#397
- [ ] Built server side validations
2017-01-23 10:13:52 +01:00
..
app.js 🐛 re-order api middlewares: cors middleware before connect-slashes (#7861) 2017-01-18 17:36:47 +00:00
authentication.js More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
clients.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
configuration.js More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
db.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
index.js 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
invites.js More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
mail.js 🎨 replace process.env.NODE_ENV usages by config.get('env') (#7544) 2016-10-11 13:53:52 +01:00
notifications.js replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00
posts.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
roles.js Refactor handlePermissions 2015-08-11 16:03:57 +02:00
schedules.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
settings.js Find favicon in Ghost (#7713) 2017-01-23 10:13:52 +01:00
slack.js Slack integration 2016-05-08 12:49:15 +02:00
slugs.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
subscribers.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
tags.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
themes.js 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
upload.js feature: upload validation middleware (#7208) 2016-08-18 20:25:51 +01:00
users.js replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00
utils.js replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00