mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-19 21:26:05 -05:00
Test
Messing around to figure out docker and whatnot
This commit is contained in:
@@ -77,7 +77,7 @@ export function listItemProps(props, item, index) {
|
||||
|
||||
const url = {
|
||||
view: itemPageLink(props, item),
|
||||
edit: props.canEdit ? item.url.replace('view?m=', 'edit?m=') : null,
|
||||
edit: props.canEdit ? item.url.replace('view?hello=', 'edit?hello=') : null,
|
||||
};
|
||||
|
||||
if (window.MediaCMS.site.devEnv && -1 < url.view.indexOf('view?')) {
|
||||
|
||||
@@ -27,7 +27,7 @@ export function config(glbl) {
|
||||
home: glbl.url.home,
|
||||
admin: !glbl.user.is.anonymous && glbl.user.is.admin ? glbl.url.admin : '',
|
||||
error404: glbl.url.error404,
|
||||
embed: glbl.site.url.replace(/\/+$/, '') + '/embed?m=',
|
||||
embed: glbl.site.url.replace(/\/+$/, '') + '/embed?hello=',
|
||||
latest: glbl.url.latestMedia,
|
||||
featured: glbl.url.featuredMedia,
|
||||
recommended: glbl.url.recommendedMedia,
|
||||
|
||||
Reference in New Issue
Block a user