1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

Changed the assets dir for management web asset files

This commit is contained in:
Git Repository 2017-05-22 09:26:43 -07:00
parent 8234a5a9f4
commit 378ba271de
3 changed files with 8 additions and 6 deletions

View File

@ -18,7 +18,9 @@
location = /.well-known/autoconfig/mail/config-v1.1.xml {
alias /var/lib/mailinabox/mozilla-autoconfig.xml;
}
location /mailinabox {
alias /usr/local/mailinabox;
}
# Roundcube Webmail configuration.
rewrite ^/mail$ /mail/ redirect;
rewrite ^/mail/$ /mail/index.php;

View File

@ -9,7 +9,7 @@
<meta name="robots" content="noindex, nofollow">
<link rel="stylesheet" href="/assets/bootstrap.min.css">
<link rel="stylesheet" href="/mailinabox/vendor/assets/bootstrap.min.css">
<style>
body {
overflow-y: scroll;
@ -63,7 +63,7 @@
margin-bottom: 1em;
}
</style>
<link rel="stylesheet" href="/assets/bootstrap-theme.min.css">
<link rel="stylesheet" href="/mailinabox/vendor/assets/bootstrap-theme.min.css">
</head>
<body>
@ -191,8 +191,8 @@
</div>
</div>
<script src="/assets/jquery.min.js"></script>
<script src="/assets/bootstrap.min.js"></script>
<script src="/mailinabox/vendor/assets/jquery.min.js"></script>
<script src="/mailinabox/vendor/assets/bootstrap.min.js"></script>
<script>
var global_modal_state = null;

View File

@ -65,7 +65,7 @@ fi
# Download jQuery and Bootstrap local files
# Make sure we have the directory to save to.
assets_dir=$STORAGE_ROOT/www/default/assets
assets_dir=/usr/local/mailinabox/vendor/assets
mkdir -p $assets_dir
# jQuery CDN URL