Random little cleanups
This commit is contained in:
parent
4df1a917af
commit
f312b7c9ee
@ -2,9 +2,7 @@
|
|||||||
"name": "Gallery",
|
"name": "Gallery",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "Personal photo gallery",
|
"description": "Personal photo gallery",
|
||||||
"keywords": [
|
"keywords": ["javascript"],
|
||||||
"javascript"
|
|
||||||
],
|
|
||||||
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",
|
"author": "Timothy Farrell <tim@thecookiejar.me> (https://github.com/explorigin)",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -21,11 +19,10 @@
|
|||||||
"frptools": "~3.2.0",
|
"frptools": "~3.2.0",
|
||||||
"linear-partitioning": "0.3.2",
|
"linear-partitioning": "0.3.2",
|
||||||
"pica": "~2.0.8",
|
"pica": "~2.0.8",
|
||||||
"pouchdb-adapter-http": "~7.0.0",
|
|
||||||
"pouchdb-adapter-idb": "~7.0.0",
|
"pouchdb-adapter-idb": "~7.0.0",
|
||||||
|
"pouchdb-attachmentproxy": "~1.0.0",
|
||||||
"pouchdb-core": "~7.0.0",
|
"pouchdb-core": "~7.0.0",
|
||||||
"pouchdb-find": "~7.0.0",
|
"pouchdb-find": "~7.0.0",
|
||||||
"pouchdb-replication": "~7.0.0",
|
|
||||||
"pouchtype": "~1.0.0",
|
"pouchtype": "~1.0.0",
|
||||||
"request": "~2.87.0",
|
"request": "~2.87.0",
|
||||||
"router": "2.1.0",
|
"router": "2.1.0",
|
||||||
|
|||||||
@ -25,10 +25,11 @@ module.exports = {
|
|||||||
server.app.listen(API_PORT, API_HOST);
|
server.app.listen(API_PORT, API_HOST);
|
||||||
console.log(`Running api host on ${API_HOST}:${API_PORT}`);
|
console.log(`Running api host on ${API_HOST}:${API_PORT}`);
|
||||||
},
|
},
|
||||||
|
compress: true,
|
||||||
contentBase: path.join(__dirname, 'dist'),
|
contentBase: path.join(__dirname, 'dist'),
|
||||||
|
headers: formatHeaders(),
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
https: true,
|
https: true,
|
||||||
headers: formatHeaders(),
|
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': `http://${API_HOST}:${API_PORT}`
|
'/api': `http://${API_HOST}:${API_PORT}`
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user