1
0
mirror of https://github.com/trambarhq/relaks-wordpress-example.git synced 2025-09-03 05:02:34 +02:00

Fixed cache purge (issue #50).

Fixed permalinks with date (issue #49).
This commit is contained in:
Chung Leong
2019-02-03 14:20:43 +01:00
parent 7b381cbd42
commit d94aca4ae4
4 changed files with 24 additions and 38 deletions

View File

@@ -12,7 +12,7 @@ var ExtractTextPlugin = require("extract-text-webpack-plugin");
var EVENT = process.env.npm_lifecycle_event;
var BUILD = (EVENT === 'build') ? 'production' : 'development';
var IS_DEV_SERVER = process.argv.find((arg) => { return arg.includes('webpack-dev-server') });
var DEV_DATA_HOST = (IS_DEV_SERVER) ? 'http://192.168.0.56:8000' : undefined;
var DEV_DATA_HOST = (IS_DEV_SERVER) ? 'http://localhost:8000' : undefined;
var CORDOVA_DATA_HOST = process.env.CORDOVA_DATA_HOST;
var BASE_PATH = '/';