This file contains hidden or 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
| const express = require('express'); | |
| const fetch = require('node-fetch'); | |
| const redis = require('redis'); | |
| const PORT = process.env.PORT || 5000; | |
| const REDIS_PORT = process.env.PORT || 6379; | |
| const client = redis.createClient(REDIS_PORT); | |
| const app = express(); |
This file contains hidden or 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
| To change all the directories to 755 (-rwxr-xr-x): | |
| find . -type d -exec chmod 755 {} \; | |
| To change all the files to 644 (-rw-r--r--): | |
| find . -type f -exec chmod 644 {} \; |