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 0ac1539 commit edb5adfCopy full SHA for edb5adf
config/paths.js
@@ -32,10 +32,7 @@ const getPublicUrl = appPackageJson =>
32
// We can't use a relative path in HTML because we don't want to load something
33
// like /todos/42/static/js/bundle.7289d.js. We have to know the root.
34
function getServedPath(appPackageJson) {
35
- const publicUrl = getPublicUrl(appPackageJson);
36
- const servedUrl =
37
- envPublicUrl || (publicUrl ? url.parse(publicUrl).pathname : '/');
38
- return ensureSlash(servedUrl, true);
+ return '';
39
}
40
41
// config after eject: we're in ./config/
0 commit comments