+ resolvePublishUrl()
|___ app/sites/cnn/index.js
|
+ getSlugUrl()
|___ app/services/server/publish-url.js
mainComponent:
{
lede: [
],
slug: '',
tags: [
{
_ref: 'localhost/_components/tags/instances/ck3q057p7000fx2rplhn9sneb'
}
],
content: [
{
_ref: 'localhost/_components/paragraph/instances/ck3q057p7000ex2rp0gvjen81'
}
],
headline: 'New York City Breaking News',
timestamp: {
_ref: 'localhost/_components/timestamp/instances/ck3q057p7000dx2rpfjycqref'
},
feedImgUrl: '',
componentVariation: 'article'
}
componentReference:
localhost/_components/article/instances/ck3q057p7000gx2rprliobak0
locals:
{
user: {
username: 'clay',
password: '$2a$10$7qxEdA6vLTr5V3uGOHfYG.B87ANqOXO5uWDSXpHMRMlc4kBJ81LZS',
name: 'Clay',
provider: 'local',
auth: 'admin',
imageUrl: ''
},
url: 'http://localhost/_pages/ck3q057n30000x2rpz7bb23j5@published',
site: {
name: 'CNN Demo',
host: 'localhost',
path: '',
assetDir: 'public',
assetPath: '',
port: 80,
protocol: 'http',
shortKey: 'cnn',
styleguide: 'cnn',
fontSource: 'cnn',
slug: 'cnn',
dir: '/Users/fcargnelutti/GitHub/cnn-content-hub/app/sites/cnn',
prefix: 'localhost',
providers: [
'apikey',
'google',
'local'
],
resolvePublishUrl: [
[
Function
]
]
},
routes: [
'/_auth/login',
'/_auth/logout',
'/_auth/apikey',
'/_auth/apikey/callback',
'/_auth/google',
'/_auth/google/callback',
'/_auth/local',
'/api/tweet/:tweet',
'/api/products/amazon/:asin',
'/',
'/:year/:month/:day/:name',
'/article/:name',
'/profile/:name',
'/live-story/:name',
'/video/:name'
],
components: [
'ad',
'article',
'brand-logo',
'byline',
'code-sample',
'content-list',
'divider',
'footer',
'header',
'headline',
'iframe',
'image',
'instagram-post',
'label',
'list',
'live-story',
'live-story-post',
'live-story-post-pinned',
'meta-authors',
'meta-branding',
'meta-description',
'meta-icons',
'meta-image',
'meta-keywords',
'meta-section',
'meta-site',
'meta-title',
'meta-url',
'meta-vertical',
'note',
'outbrain',
'paragraph',
'product',
'profile',
'pull-quote',
'search',
'social-links',
'subheader',
'subnav',
'tags',
'timestamp',
'tweet',
'video',
'video-leaf',
'zone',
'clay-kiln'
],
date: '2019-12-03T16:03:58.263Z'
}
urlOptions:
{
section: 'article',
prefix: 'http://localhost',
slug: 'new-york-city-breaking-news'
}