mirror of
https://github.com/DeNNiiInc/Website-Stress-Test.git
synced 2026-04-17 12:36:00 +00:00
Optimize architecture: Nginx now proxies everything to Node; added static file support for all assets
This commit is contained in:
@@ -38,11 +38,9 @@ class StressTestingTool {
|
||||
requestBody: null,
|
||||
thinkTime: 1000,
|
||||
proxyUrl:
|
||||
window.location.protocol === "file:" ||
|
||||
window.location.hostname === "localhost" ||
|
||||
window.location.hostname === "127.0.0.1"
|
||||
? "http://localhost:3000"
|
||||
: "/proxy",
|
||||
window.location.protocol.startsWith('http')
|
||||
? window.location.origin
|
||||
: "http://localhost:3000",
|
||||
|
||||
// Crawler settings
|
||||
crawlerEnabled: false,
|
||||
|
||||
Reference in New Issue
Block a user