Commit 26b85b46 authored by yPhil's avatar yPhil
Browse files

Version 1.1.1 "Major version bump" - 02/02/2021 14:12:54

parent b0d748df
......@@ -4,7 +4,7 @@ var app = require('../app');
var debug = require('debug')('petrolette:server');
var http = require('http');
const fs = require('fs');
var port = normalizePort(process.env.PORT || '8000');
var port = normalizePort('8000');
app.set('port', port);
function isLocal() {
......@@ -68,11 +68,11 @@ function onError(error) {
// handle specific listen errors with friendly messages
switch (error.code) {
case 'EACCES':
console.error(bind + ' requires elevated privileges');
console.error('## ' + bind + ' requires elevated privileges');
process.exit(1);
break;
case 'EADDRINUSE':
console.error(bind + ' is already in use');
console.error('## ' + bind + ' is already in use');
process.exit(1);
break;
default:
......
{
"name": "petrolette",
"description": "Fly-by-night news reading webapp.",
"version": "1.0.46",
"version": "1.1.1",
"private": true,
"license": "GPL-3.0-only",
"FAVICONS_CACHE_DIR": "favicons-cache",
......
......@@ -34,7 +34,6 @@ function escape(s) {
router.get('/', function(req, res) {
console.log('pjson.version : %s', pjson.version);
res.render('index', {
queryString: escape(req.query.add),
version: pjson.version
......@@ -133,6 +132,8 @@ function getFeed (urlfeed, callback) {
router.get('/feed', function(req, res) {
console.log('GET');
var dnsreq = request(req.query.feedurl);
dnsreq
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment