removed passing of custom views config
This commit is contained in:
parent
f2794c4334
commit
4afd0c7de0
4 changed files with 1 additions and 31 deletions
|
@ -18,15 +18,7 @@ var _reactHelmet = _interopRequireDefault(require("react-helmet"));
|
||||||
|
|
||||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||||
|
|
||||||
/*
|
var siteConfig = require('../../../config/siteConfig.js');
|
||||||
^ note: to do this right, maybe
|
|
||||||
these should be passed in from the implementation (www.spee.ch) itself,
|
|
||||||
so that there are no conflicts between the SSR here and
|
|
||||||
the bundle sent to the server?
|
|
||||||
there might also be issues if this package uses a different version of spee.ch-components than www.spee.ch does?
|
|
||||||
*/
|
|
||||||
var siteConfig = require('../../../config/siteConfig.js'); // const viewsConfig = require('../../../config/viewsConfig.js');
|
|
||||||
|
|
||||||
|
|
||||||
module.exports = function (req, res) {
|
module.exports = function (req, res) {
|
||||||
var context = {}; // customize the reducer by passing in intial state configs
|
var context = {}; // customize the reducer by passing in intial state configs
|
||||||
|
|
|
@ -22,13 +22,6 @@ var _reactHelmet = _interopRequireDefault(require("react-helmet"));
|
||||||
|
|
||||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||||
|
|
||||||
/*
|
|
||||||
^ note: to do this right, maybe
|
|
||||||
these should be passed in from the implementation (www.spee.ch) itself,
|
|
||||||
so that there are no conflicts between the SSR here and
|
|
||||||
the bundle sent to the server?
|
|
||||||
there might also be issues if this package uses a different version of spee.ch-components than www.spee.ch does?
|
|
||||||
*/
|
|
||||||
var siteConfig = require('../../../config/siteConfig.js'); // const viewsConfig = require('../../../config/viewsConfig.js');
|
var siteConfig = require('../../../config/siteConfig.js'); // const viewsConfig = require('../../../config/viewsConfig.js');
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,18 +4,10 @@ import { createStore } from 'redux';
|
||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
import { StaticRouter } from 'react-router-dom';
|
import { StaticRouter } from 'react-router-dom';
|
||||||
import { Reducers, GAListener, App } from 'spee.ch-components';
|
import { Reducers, GAListener, App } from 'spee.ch-components';
|
||||||
/*
|
|
||||||
^ note: to do this right, maybe
|
|
||||||
these should be passed in from the implementation (www.spee.ch) itself,
|
|
||||||
so that there are no conflicts between the SSR here and
|
|
||||||
the bundle sent to the server?
|
|
||||||
there might also be issues if this package uses a different version of spee.ch-components than www.spee.ch does?
|
|
||||||
*/
|
|
||||||
import renderFullPage from '../renderFullPage.js';
|
import renderFullPage from '../renderFullPage.js';
|
||||||
import Helmet from 'react-helmet';
|
import Helmet from 'react-helmet';
|
||||||
|
|
||||||
const siteConfig = require('../../../config/siteConfig.js');
|
const siteConfig = require('../../../config/siteConfig.js');
|
||||||
// const viewsConfig = require('../../../config/viewsConfig.js');
|
|
||||||
|
|
||||||
module.exports = (req, res) => {
|
module.exports = (req, res) => {
|
||||||
let context = {};
|
let context = {};
|
||||||
|
|
|
@ -7,13 +7,6 @@ import renderFullPage from '../renderFullPage';
|
||||||
import createSagaMiddleware from 'redux-saga';
|
import createSagaMiddleware from 'redux-saga';
|
||||||
import { call } from 'redux-saga/effects';
|
import { call } from 'redux-saga/effects';
|
||||||
import { Reducers, GAListener, App, Sagas, Actions } from 'spee.ch-components';
|
import { Reducers, GAListener, App, Sagas, Actions } from 'spee.ch-components';
|
||||||
/*
|
|
||||||
^ note: to do this right, maybe
|
|
||||||
these should be passed in from the implementation (www.spee.ch) itself,
|
|
||||||
so that there are no conflicts between the SSR here and
|
|
||||||
the bundle sent to the server?
|
|
||||||
there might also be issues if this package uses a different version of spee.ch-components than www.spee.ch does?
|
|
||||||
*/
|
|
||||||
import Helmet from 'react-helmet';
|
import Helmet from 'react-helmet';
|
||||||
|
|
||||||
const siteConfig = require('../../../config/siteConfig.js');
|
const siteConfig = require('../../../config/siteConfig.js');
|
||||||
|
|
Loading…
Add table
Reference in a new issue