Stop trying to Vercel
This commit is contained in:
parent
2d6d97b7b6
commit
6a92604fdf
3 changed files with 2 additions and 5 deletions
|
@ -4,7 +4,8 @@
|
||||||
"description": "TODO: Readme",
|
"description": "TODO: Readme",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nodemon ./scripts/server.js"
|
"dev": "nodemon ./api/index.js",
|
||||||
|
"start": "node ./api/index.js"
|
||||||
},
|
},
|
||||||
"author": "MeowcaTheoRange",
|
"author": "MeowcaTheoRange",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
@ -9,9 +9,6 @@ app.use("/assets", express.static('assets'));
|
||||||
|
|
||||||
app.use("/", express.static('pages'));
|
app.use("/", express.static('pages'));
|
||||||
|
|
||||||
app.use("/dataServer", express.static('data')); // Example data file-server
|
|
||||||
app.use("/fileServer", express.static('files')); // Example file file-server
|
|
||||||
|
|
||||||
app.use("/files", createProxyMiddleware({
|
app.use("/files", createProxyMiddleware({
|
||||||
target: config.files_url
|
target: config.files_url
|
||||||
}));
|
}));
|
|
@ -1 +0,0 @@
|
||||||
{ "version": 2, "rewrites": [{ "source": "/(.*)", "destination": "/scripts" }] }
|
|
Loading…
Reference in a new issue