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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user