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 { location = /.well-known/autoconfig/mail/config-v1.1.xml {
alias /var/lib/mailinabox/mozilla-autoconfig.xml; alias /var/lib/mailinabox/mozilla-autoconfig.xml;
} }
location /mailinabox {
alias /usr/local/mailinabox;
}
# Roundcube Webmail configuration. # Roundcube Webmail configuration.
rewrite ^/mail$ /mail/ redirect; rewrite ^/mail$ /mail/ redirect;
rewrite ^/mail/$ /mail/index.php; rewrite ^/mail/$ /mail/index.php;

View File

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

View File

@ -65,7 +65,7 @@ fi
# Download jQuery and Bootstrap local files # Download jQuery and Bootstrap local files
# Make sure we have the directory to save to. # 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 mkdir -p $assets_dir
# jQuery CDN URL # jQuery CDN URL