Remove unused cache routes
This commit is contained in:
parent
2d19938d7d
commit
81c1574999
@ -4,14 +4,6 @@ import fs from "fs/promises";
|
|||||||
|
|
||||||
const cacheRouter = express.Router();
|
const cacheRouter = express.Router();
|
||||||
|
|
||||||
cacheRouter.get("/B.Cache.Dx11.bin.*", (_req, res) => {
|
|
||||||
res.sendFile("static/data/B.Cache.Dx11_33.0.6.bin", { root: "./" });
|
|
||||||
});
|
|
||||||
|
|
||||||
cacheRouter.get("/B.Cache.Windows_en.bin*", (_req, res) => {
|
|
||||||
res.sendFile("static/data/B.Cache.Windows_en_33.0.10.bin", { root: "./" });
|
|
||||||
});
|
|
||||||
|
|
||||||
cacheRouter.get(/^\/origin\/[a-zA-Z0-9]+\/[0-9]+\/H\.Cache\.bin.*$/, (_req, res) => {
|
cacheRouter.get(/^\/origin\/[a-zA-Z0-9]+\/[0-9]+\/H\.Cache\.bin.*$/, (_req, res) => {
|
||||||
res.sendFile(`static/data/H.Cache_${buildConfig.version}.bin`, { root: "./" });
|
res.sendFile(`static/data/H.Cache_${buildConfig.version}.bin`, { root: "./" });
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user