serve-static is made by Express, meaning it should have better support (and possibly greater performance) than node-static. This commit makes the necessary changes for the switch. Moreover, this commit ensures static files are found regardless of the current working directory.
20 lines
463 B
JSON
20 lines
463 B
JSON
{
|
|
"dependencies": {
|
|
"@tomphttp/bare-server-node": "^1.0.2-beta-readme2",
|
|
"bare-server-node": "github:tomphttp/bare-server-node",
|
|
"serve-static": "^1.15.0"
|
|
},
|
|
"name": "uv-app",
|
|
"version": "1.0.0",
|
|
"description": "Ultraviolet instance",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"start": "node ."
|
|
},
|
|
"keywords": [
|
|
"proxy"
|
|
],
|
|
"author": "",
|
|
"license": "GPL-3.0-or-later"
|
|
}
|