Skip to content

Commit b028d35

Browse files
committed
Cache-busted 404 page
1 parent c9102bd commit b028d35

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Jakefile.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,13 @@
123123
var hashCatRunner = require("./build/util/hashcat_runner.js");
124124
hashCatRunner.go({
125125
indexFile: paths.buildClientIndexHtml
126-
}, removeHashCatIntermediateFiles, fail);
126+
}, hashCat404Page, fail);
127+
128+
function hashCat404Page() {
129+
hashCatRunner.go({
130+
indexFile: paths.buildClient404Html
131+
}, removeHashCatIntermediateFiles, fail);
132+
}
127133

128134

129135
function removeHashCatIntermediateFiles() {

build/config/paths.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
exports.buildDir = "generated/build";
1212
exports.buildClientDir = "generated/build/client";
1313
exports.buildClientIndexHtml = "generated/build/client/index.html";
14+
exports.buildClient404Html = "generated/build/client/404.html";
1415
exports.buildIntermediateFilesToErase = [
1516
"./generated/build/client/app.min.js",
1617
"./generated/build/client/bundle.js",

0 commit comments

Comments
 (0)