@parameter1/base-cms-marko-web 2.46.0 → 2.46.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  const { STATUS_CODES } = require('http');
2
2
  const createError = require('http-errors');
3
- const errorTemplate = require('../components/document/components/error.marko');
3
+ const errorTemplate = require('../components/document/components/error');
4
4
  const getRedirect = require('./get-redirect');
5
5
  const findContentAlias = require('./find-content-alias');
6
6
  const applyQueryParams = require('../utils/apply-query-params');
@@ -1,3 +1,3 @@
1
- const defaultDocument = require('../components/document/index.marko');
1
+ const defaultDocument = require('../components/document');
2
2
 
3
3
  module.exports = document => document || defaultDocument;
@@ -1,5 +1,5 @@
1
1
  const { asyncRoute } = require('@parameter1/base-cms-utils');
2
- const LoadMore = require('../components/load-more/index.marko');
2
+ const LoadMore = require('../components/load-more');
3
3
 
4
4
  module.exports = () => asyncRoute(async (req, res) => {
5
5
  const { method, query, body } = req;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parameter1/base-cms-marko-web",
3
- "version": "2.46.0",
3
+ "version": "2.46.1",
4
4
  "description": "Core Marko+Express components for BaseCMS websites",
5
5
  "author": "Jacob Bare <jacob@parameter1.com>",
6
6
  "main": "index.js",
@@ -50,5 +50,5 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "5252afc89283747aced3021136164c222609a843"
53
+ "gitHead": "490a86132152d30fa01b8212476c6aeff138d137"
54
54
  }
@@ -1,4 +1,4 @@
1
- const BrowserComponent = require('../../components/browser-component.marko');
1
+ const BrowserComponent = require('../../components/browser-component');
2
2
  const facebook = require('./facebook-oembed');
3
3
  const instagram = require('./instagram-oembed');
4
4