We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94f65b commit b6a5507Copy full SHA for b6a5507
src/renderer/index.js
@@ -7,7 +7,6 @@ import express from 'express';
7
import cookieParser from 'cookie-parser';
8
import compression from 'compression';
9
import logger from 'morgan';
10
-import { join } from 'path';
11
12
import { log } from './helpers';
13
import { generateRoute } from './generateRoute';
@@ -72,7 +71,7 @@ const reconciler = ReactReconciler({
72
71
if (type === 'static') {
73
return {
74
path: props.path,
75
- static: express.static(join(__dirname, props.publicPath), props.options),
+ static: express.static(props.publicPath, props.options),
76
};
77
}
78
0 commit comments