Commit 339a4e9d authored by zhiyan's avatar zhiyan

更改update/wiki的method

parent eeda84b6
...@@ -23,7 +23,7 @@ app.get('/usage', function (req, res) { ...@@ -23,7 +23,7 @@ app.get('/usage', function (req, res) {
}) })
}) })
app.get('/wiki/update', function(req, res){ app.all('/wiki/update', function(req, res){
const WIKI_PATH = '/home/wiki' const WIKI_PATH = '/home/wiki'
const commands = [ const commands = [
'cd ' + WIKI_PATH, 'cd ' + WIKI_PATH,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment