Skip to content

Commit

Permalink
Files in public/ folder should not be requested through proxy (facebo…
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed May 22, 2017
1 parent 722b86d commit 6c31098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ choosePort(HOST, DEFAULT_PORT)
const compiler = createCompiler(webpack, config, appName, urls, useYarn);
// Load proxy config
const proxySetting = require(paths.appPackageJson).proxy;
const proxyConfig = prepareProxy(proxySetting);
const proxyConfig = prepareProxy(proxySetting, paths.appPublic);
// Serve webpack assets generated by the compiler over a web sever.
const serverConfig = createDevServerConfig(
proxyConfig,
Expand Down

0 comments on commit 6c31098

Please sign in to comment.