0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/web
Rishabh Garg 9624c88f3e Refactored url utility to generate multiple API version URLs (#9897)
refs #9866

- added api version config to overrides, which makes it possible to have a centralized api versioning configuration
- the next PR will use this config in the web folder
- make api url generation in url service flexible and dynamic
- remove hardcoded API_PATH
- updated all places which used `urlFor('api'..)` -> we now ask for explicit api version
2018-09-24 21:49:20 +02:00
..
admin Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
api Added new endpoint to upload square profile images with dimension validation (#9862) 2018-09-24 21:42:58 +02:00
shared Refactored url utility to generate multiple API version URLs (#9897) 2018-09-24 21:49:20 +02:00
site Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
index.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30
parent-app.js Refactored how we require shared middlewares from web/ (#9893) 2018-09-21 16:17:11 +05:30