import React from 'react';
import Playground from './index.js';
import express from 'express';
import ReactDOMServer from 'react-dom/server';

const app = express();
const port = 8000;

app.get('/', function(req, resp) {
  const html = ReactDOMServer.renderToString(
    React.createElement(Playground)
  );
  resp.send(html);
});

app.listen(port, function() {
  console.log(`http://localhost:'${port}`); // eslint-disable-line no-console
});

@@ -387,17 +387,16 @@
 calhost:
-'
 $%7Bport%7D%60

Fix typo in playground listen log