diff --git a/src/updater/updaters/Updater.js b/src/updater/updaters/Updater.js index db4e6cc..c58d9f6 100644 --- a/src/updater/updaters/Updater.js +++ b/src/updater/updaters/Updater.js @@ -113,6 +113,11 @@ class Updater { let splatnet = new SplatNet; let image = await this.handleRequest(splatnet.getImage(imagePath)); this.writeFile(localPath, image); + + // Temporary: Also save the file to the old path for now + // This allows for old versions of the site to continue downloading images + let oldPath = path.resolve('public/assets/img/splatnet') + '/' + path.basename(imagePath); + this.writeFile(oldPath, image); } catch (e) { } }