1
0
mirror of https://github.com/trambarhq/relaks-wordpress-example.git synced 2025-09-02 12:42:38 +02:00

Moved Cache-Control into Node code.

Fixed typo in image link handling code.
This commit is contained in:
Chung Leong
2019-02-12 13:53:53 +01:00
parent 69fcdf7cbc
commit 2260a6f31b
7 changed files with 6 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ let dnsCache = Bluebird.promisifyAll(DNSCache({
const SERVER_PORT = 80;
const WORDPRESS_HOST = process.env.WORDPRESS_HOST;
const CACHE_CONTROL = 'public,s-maxage=604800';
const CACHE_CONTROL = 'public,max-age=0,s-maxage=604800';
// start up Express
let app = Express();