mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
[server] Support serving embedded files from subfolders
This commit is contained in:
parent
ad8fc60db8
commit
d9ad49bddb
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ namespace Nibriboard.Client
|
|||
}
|
||||
|
||||
protected string getEmbeddedFileReference(string uri) {
|
||||
return filePrefix + "." + uri.TrimStart("/".ToCharArray());
|
||||
return filePrefix + "." + uri.TrimStart("/".ToCharArray()).Replace('/', '.');
|
||||
}
|
||||
|
||||
protected string getMimeType(string uri) {
|
||||
|
|
Loading…
Reference in a new issue