This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-04-30T04:17:22.471Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ExpressJS调用方式 | |
var express = require('express'); | |
var app = express(); | |
// 引入NodeJS的子进程模块 | |
var child_process = require('child_process'); | |
app.get('/', function(req, res){ | |
// 完整URL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (window.history) { | |
window.history.replaceState(null, null, (location.origin + location.pathname + location.search + '&refresh').replace(/[&?]{1,2}/,'?')) | |
} |