Skip to content

Commit 8297858

Browse files
JKHeadleyJustin Headley
authored and
Justin Headley
committed
Feature/34 update rest hapi (#39)
* feature: update rest-hapi and hapi modules * bugfix: auth request object duplication * bugfix: await promise in github auth * feature: update docker node images * feature: fix visitor logic for bad ipstack key * feature: updated readme and removed .env-docker from repo
1 parent 86df884 commit 8297858

31 files changed

+2686
-1673
lines changed

.env-docker .env-docker-sample

File renamed without changes.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -389,3 +389,4 @@ Temporary Items
389389
# Local
390390
dokcer-compose.yml
391391
.env
392+
.env-docker

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:carbon
1+
FROM node:erbium
22

33
# Create and set the working directory
44
RUN mkdir /backend

config/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ const config = {
289289
},
290290
logScopes: {
291291
$filter: 'env',
292-
production: true,
293-
$default: true
292+
production: false,
293+
$default: false
294294
},
295295
loglevel: {
296296
$filter: 'env',

config/manifest.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const manifest = {
4343
plugin: 'hapi-auth-jwt2'
4444
},
4545
{
46-
plugin: 'bell'
46+
plugin: '@hapi/bell'
4747
},
4848
{
4949
plugin: './server/plugins/mailer.plugin'

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict'
2-
const Glue = require('glue')
2+
const Glue = require('@hapi/glue')
33
const RestHapi = require('rest-hapi')
44
const Manifest = require('./config/manifest.conf')
55

0 commit comments

Comments
 (0)