From f312b7c9eed79199e73fcb0b5674b697c70c804e Mon Sep 17 00:00:00 2001 From: Timothy Farrell Date: Wed, 25 Jul 2018 03:55:00 -0500 Subject: [PATCH] Random little cleanups --- packages/gallery/package.json | 7 ++----- packages/gallery/webpack.config.js | 3 ++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/gallery/package.json b/packages/gallery/package.json index 627f6b4..62f97ff 100644 --- a/packages/gallery/package.json +++ b/packages/gallery/package.json @@ -2,9 +2,7 @@ "name": "Gallery", "version": "0.0.1", "description": "Personal photo gallery", - "keywords": [ - "javascript" - ], + "keywords": ["javascript"], "author": "Timothy Farrell (https://github.com/explorigin)", "license": "Apache-2.0", "scripts": { @@ -21,11 +19,10 @@ "frptools": "~3.2.0", "linear-partitioning": "0.3.2", "pica": "~2.0.8", - "pouchdb-adapter-http": "~7.0.0", "pouchdb-adapter-idb": "~7.0.0", + "pouchdb-attachmentproxy": "~1.0.0", "pouchdb-core": "~7.0.0", "pouchdb-find": "~7.0.0", - "pouchdb-replication": "~7.0.0", "pouchtype": "~1.0.0", "request": "~2.87.0", "router": "2.1.0", diff --git a/packages/gallery/webpack.config.js b/packages/gallery/webpack.config.js index d9af3f1..330fcc0 100644 --- a/packages/gallery/webpack.config.js +++ b/packages/gallery/webpack.config.js @@ -25,10 +25,11 @@ module.exports = { server.app.listen(API_PORT, API_HOST); console.log(`Running api host on ${API_HOST}:${API_PORT}`); }, + compress: true, contentBase: path.join(__dirname, 'dist'), + headers: formatHeaders(), host: '0.0.0.0', https: true, - headers: formatHeaders(), proxy: { '/api': `http://${API_HOST}:${API_PORT}` }