Ghost/core/server
kirrg001 1e6f4ba340 🐛 Fixed Admin API v2 wasn't returning preview url
no issue

- Admin API v2 returned /404/, see comment in code base:

/**
* CASE: admin api should serve preview urls
*
* @NOTE
* The url service has no clue of the draft/scheduled concept. It only generates urls for published resources.
* Adding a hardcoded fallback into the url service feels wrong IMO.
*
* Imagine the site won't be part of core and core does not serve urls anymore.
* Core needs to offer a preview API, which returns draft posts.
* That means the url is no longer /p/:uuid, it's e.g. GET /api/v2/content/preview/:uuid/.
* /p/ is a concept of the site, not of core.
*
* The site is not aware of existing drafts. It won't be able to get the uuid.
*
* Needs further discussion.
*/
2019-03-21 19:08:38 +01:00
..
adapters Removed superagent dependency (#10535) 2019-03-04 15:59:38 +08:00
api 🐛 Fixed Admin API v2 wasn't returning preview url 2019-03-21 19:08:38 +01:00
apps 🐛 Changed subscribed page title from hardcoded to site title (#10589) 2019-03-11 14:07:37 +08:00
config 🐛 Fixed custom certificate usage for MySQL (#10573) 2019-03-06 10:28:10 +01:00
data Enhanced 2.18 detection (#10610) 2019-03-13 23:40:50 +01:00
helpers 🐛 Fixed null displayed on empty post content (#10617) 2019-03-18 19:46:59 +08:00
lib Added consistent handling to empty mobiledoc 2019-03-18 20:06:53 +08:00
models Added Canonical URL support to posts&pages in Admin & Content API v2 (#10594) 2019-03-12 17:51:29 +08:00
public Removed change frequency and priority fields from sitemap generator (#9771) 2018-09-24 19:16:31 +02:00
services Removed hard-coded members lab flag for theme 2019-03-21 13:56:46 +05:30
translations Added missing translation key: admin api kid 2019-03-18 12:48:39 +01:00
views Aliased {{@blog}} as {{@site}} in the theme API 2019-01-04 12:17:32 +00:00
web Refactored members auth flow with dynamic settings 2019-02-26 15:43:36 +07:00
analytics-events.js Added event to integrations when created (#10588) 2019-03-11 15:28:17 +01:00
filters.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
ghost-server.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
index.js De-aliased api versions in codebase (#10375) 2019-01-14 19:49:55 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js De-aliased api versions in codebase (#10375) 2019-01-14 19:49:55 +01:00