Prototyped the barcode idea; Added a basic production system.

This commit is contained in:
Wynne Crisman
2019-10-07 15:51:50 -07:00
parent 8211da6b39
commit 2e57558ef4
50 changed files with 8949 additions and 782 deletions

View File

@@ -4,6 +4,9 @@ import '/imports/startup/both';
import '/imports/api';
import '/imports/startup/server/postStartup/version.js'; //Run this right after the api - relies on the API to upgrade the app database & data to the current version.
//const nocache = require('nocache');
//app.use(nocache());
let PropertiesReader = require('properties-reader');
let props = PropertiesReader('./assets/app/release.properties');
@@ -19,3 +22,8 @@ if (!process.env.MAIL_URL) {
// console.log("Mail settings: " + process.env.MAIL_URL);
if(Meteor.log) Meteor.log.info("Server Started");
WebApp.rawConnectHandlers.use('/', function(req, res, next) {
res.setHeader('cache-control', 'no-cache');
next();
});