updated default public folder to "public"

This commit is contained in:
bill bittner 2018-04-02 12:20:26 -07:00
parent e45f700b07
commit e6ade3b728
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -50,7 +50,7 @@ function Server () {
app.use(express.static(publicFolder)); app.use(express.static(publicFolder));
logger.info('serving static files from custom path:', publicFolder); logger.info('serving static files from custom path:', publicFolder);
} else { } else {
const publicPath = Path.resolve(process.cwd(), 'static'); const publicPath = Path.resolve(process.cwd(), 'public');
app.use(express.static(publicPath)); app.use(express.static(publicPath));
logger.warn(`serving static files from default static path at ${publicPath}. Please specify a path in your config/siteConfig.js file`, ); logger.warn(`serving static files from default static path at ${publicPath}. Please specify a path in your config/siteConfig.js file`, );
}; };