feat(character): replace model viewer background

This commit is contained in:
Axel Cocat 2022-03-18 00:51:33 +01:00
parent 4d0fced53b
commit 7315de7ede
4 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View file

@ -7,7 +7,7 @@ build/
# Downloaded data files # Downloaded data files
data/* data/*
!data/*.csv !data/*.csv
!data/background.png !data/*.png
# Configuration # Configuration
config.json config.json

View file

Before

Width:  |  Height:  |  Size: 284 B

After

Width:  |  Height:  |  Size: 284 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

View file

@ -135,7 +135,7 @@ export class Armory {
app.use("/data/meta", express.static(`data/meta`)); app.use("/data/meta", express.static(`data/meta`));
app.use("/data/bone", express.static(`data/bone`)); app.use("/data/bone", express.static(`data/bone`));
app.use("/data/textures", express.static(`data/textures`)); app.use("/data/textures", express.static(`data/textures`));
app.use("/data/background.png", express.static(`data/background.png`)); app.use("/data/background.png", express.static(`data/modelviewer-background.png`));
const indexController = new IndexController(this); const indexController = new IndexController(this);
app.get("/", this.wrapRoute(indexController.index.bind(indexController))); app.get("/", this.wrapRoute(indexController.index.bind(indexController)));