sh install-docker.sh
- log out
- log back in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const fastify = require('fastify')({ logger: false, trustProxy: true }) | |
const redis = require('redis').createClient({ host: 'localhost', port: 6379 }) | |
const path = require('path') | |
const helmet = require('fastify-helmet') | |
require('dotenv').config() | |
fastify | |
.register(require('fastify-static'), { |