0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/api/v3
Kevin Ansfield a6f5eb71be
🏗 Changed internal URL storage format to use __GHOST_URL__ (#12731)
closes https://github.com/TryGhost/Team/issues/467

- switches to storing "transform-ready" URLs in the database
- transform-ready URLs contain a `__GHOST_URL__` placeholder that corresponds to the configured url that gives a few benefits
  - much faster and less memory intensive output transformations through not needing to parse html or markdown - the transform can be achieved using a straightforward regex find+replace
  - ability to change to/from or rename subdirectory without any manual updates to the database
- modified existing 4.0 url-transformation migration rather than adding another one and repeating the transformation on posts rows
2021-03-05 13:54:01 +00:00
..
utils 🏗 Changed internal URL storage format to use __GHOST_URL__ (#12731) 2021-03-05 13:54:01 +00:00
actions.js
authentication.js
authors-public.js
config.js
db.js
email-preview.js Bumped MEGA related serialization code to use v4 API 2021-03-02 14:31:01 +13:00
email.js
identities.js
images.js
index.js
integrations.js
invites.js
labels.js
mail.js
members.js
memberSigninUrls.js
membersStripeConnect.js
notifications.js
oembed.js
pages-public.js
pages.js
posts-public.js
posts.js Added new member limit & removed old 2021-03-04 18:16:34 +00:00
preview.js
redirects.js
roles.js
schedules.js
session.js
settings-public.js
settings.js Refactored usage of the pre v4 "slack" setting 2021-02-15 15:25:54 +13:00
site.js
slack.js
slugs.js
snippets.js
tags-public.js
tags.js
themes.js Updated host config to correctly use camelCase 2021-03-04 11:39:32 +00:00
users.js
webhooks.js