Messing around to figure out docker and whatnot
This commit is contained in:
MrPercheul
2022-02-03 20:35:18 +01:00
parent fb0f3ee739
commit 43b76932c5
6 changed files with 9 additions and 9 deletions

View File

@@ -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?')) {

View File

@@ -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,