Skip to content

Commit

Permalink
feat: use outputAssetsPath for consistance
Browse files Browse the repository at this point in the history
  • Loading branch information
e-cloud committed Sep 25, 2016
1 parent 997954d commit 8faf33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static-proxy-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const logger = require('log4js').getLogger('SPS')

module.exports = function createServer(config) {
const server = express()
const staticPath = path.resolve(process.cwd(), config.dir ? config.dir : config.outputBase + config.destPostfix)
const staticPath = path.resolve(process.cwd(), config.dir ? config.dir : config.outputAssetsPath)

server.use(express.static(staticPath))
server.use(morgan('dev'))
Expand Down

0 comments on commit 8faf33d

Please sign in to comment.