mirror of
https://github.com/trambarhq/relaks-wordpress-example.git
synced 2025-09-03 05:02:34 +02:00
Reworked code.
This commit is contained in:
@@ -26,6 +26,7 @@ const CACHE_CONTROL = 'public,max-age=0,s-maxage=604800';
|
||||
// start up Express
|
||||
let app = Express();
|
||||
let root = PageRenderer.basePath;
|
||||
console.log('root = ' + root)
|
||||
app.set('json spaces', 2);
|
||||
app.use(Compression())
|
||||
app.use(SpiderDetector.middleware());
|
||||
|
Reference in New Issue
Block a user