Project

General

Profile

« Previous | Next » 

Revision 49714

Add host for redis, get proper answer, add cors

View differences:

package.json
1 1
{
2
  "name": "redis-caching-tutorial",
2
  "name": "redis-cache",
3 3
  "version": "1.0.0",
4
  "description": "Introduction to caching with Redis",
5
  "main": "index.js",
4
  "description": "Caching with Redis",
5
  "main": "cache.js",
6 6
  "scripts": {
7 7
    "test": "echo \"Error: no test specified\" && exit 1",
8
    "start": "PORT=3000 REDIS_PORT=7777 node cache.js",
9
    "dev": "PORT=3000 REDIS_PORT=7777 node --debug=5858 index.js"
8
    "start": "PORT=3000 REDIS_PORT=6379 REDIS_HOST=vatopedi.di.uoa.gr node cache.js",
9
    "dev": "PORT=3000 REDIS_PORT=6379 REDIS_HOST=vatopedi.di.uoa.gr node --debug=5858 index.js"
10 10
  },
11 11
  "author": "Argiro Kokogiannaki <argirok@di.uoa.gr>",
12 12
  "license": "NKUA",

Also available in: Unified diff