diff --git a/config/run.js b/config/run.js index 5c389d2..2126481 100644 --- a/config/run.js +++ b/config/run.js @@ -6,10 +6,10 @@ const statsFile = path.resolve('build/server/loadable-stats.json') const extractor = new lServer.ChunkExtractor({ statsFile }) const fs = require('fs'); - const express = require('express'); const PORT = 3000; +const helmetExtractorRegex = /
diff --git a/src/server/index.tsx b/src/server/index.tsx
index 23e1a78..1d56393 100644
--- a/src/server/index.tsx
+++ b/src/server/index.tsx
@@ -1,12 +1,14 @@
import React from 'react'
import {renderToString} from 'react-dom/server'
import App from '../App' ;
+import Helmet from 'react-helmet'
const renderK = (extractor: any, location?: string) =>{
const reactDom = renderToString(