1
0
Fork 0
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:
Starbeamrainbowlabs 2017-04-25 20:08:30 +01:00
parent ad8fc60db8
commit d9ad49bddb

View file

@ -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) {