Ensure that the application static files are available in Voila.
This commit is contained in:
parent
ce446dad33
commit
0d33c3cd08
3 changed files with 3 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ http {
|
|||
proxy_read_timeout 86400;
|
||||
}
|
||||
rewrite ^/expert-app$ /voila-server/voila/render/cara.ipynb last;
|
||||
rewrite ^/(files/static)/(.*)$ /voila-server/voila/$1/$2 last;
|
||||
|
||||
# Before implementing the nginx router we could access /voila/render/cara.ipynb.
|
||||
# Redirect this (and all other) URLs to the new scheme.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"metadata": {},
|
||||
"source": [
|
||||
"<div style=\"text-align: center;\" align=\"center\">\n",
|
||||
"<img src=\"../../files/cara/apps/static/images/cara_logo_text_tight_margins.png\" align=\"center\" style=\"text-align: center;\" /></div>\n",
|
||||
"<img src=\"../files/static/images/cara_logo_text_tight_margins.png\" align=\"center\" style=\"text-align: center; height: 12em;\" /></div>\n",
|
||||
"<p style=\"color: blue; font-weight: bold; font-size: x-large; text-align: center;\" align=\"center\">\n",
|
||||
"Airborne Transmission of SARS-CoV-2\n",
|
||||
"</p>"
|
||||
|
|
|
|||
1
app/static
Symbolic link
1
app/static
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../cara/apps/static
|
||||
Loading…
Reference in a new issue