mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 18:22:21 +00:00
fix confetti image on home page
This commit is contained in:
parent
9d69d4b863
commit
0caa195c6f
3 changed files with 3 additions and 1 deletions
|
|
@ -109,6 +109,7 @@ const baseConfig = {
|
|||
loader: 'svg-url-loader',
|
||||
options: {
|
||||
limit: 10000,
|
||||
name: utils.assetsPath('svg/[name].[hash:7].[ext]'),
|
||||
},
|
||||
},
|
||||
{ loader: 'svgo-loader' },
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@
|
|||
}
|
||||
|
||||
#intro-signup {
|
||||
background-image: url('~client/assets/svg/for-css/confetti.svg');
|
||||
background-image: url('~assets/svg/for-css/confetti.svg');
|
||||
|
||||
img {
|
||||
margin: 0 auto;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ module.exports = function staticMiddleware (expressApp) {
|
|||
// Expose static files for new client
|
||||
expressApp.use('/static/js', express.static(`${BASE_DIR}/dist-client/static/js`, { maxAge: MAX_AGE }));
|
||||
expressApp.use('/static/css', express.static(`${BASE_DIR}/dist-client/static/css`, { maxAge: MAX_AGE }));
|
||||
expressApp.use('/static/svg', express.static(`${BASE_DIR}/dist-client/static/svg`, { maxAge: MAX_AGE }));
|
||||
expressApp.use('/static/images', express.static(`${BASE_DIR}/dist-client/static/images`, { maxAge: MAX_AGE }));
|
||||
|
||||
// @TODO img/js/css under /static have their names hashed after every change so they can be cached
|
||||
|
|
|
|||
Loading…
Reference in a new issue