Skip to content

Commit

Permalink
端口写死
Browse files Browse the repository at this point in the history
  • Loading branch information
appotry committed Oct 15, 2021
1 parent 9d96cde commit 7fd9047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hexo_run.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//run
const { exec } = require('child_process')
exec('hexo server -p ${HEXO_SERVER_PORT}',(error, stdout, stderr) => {
exec('hexo server -p 4000',(error, stdout, stderr) => {
if(error){
console.log('exec error: ${error}')
return
Expand Down

0 comments on commit 7fd9047

Please sign in to comment.