Fixed bug
parent
a84b9a318b
commit
d1475e8cc3
|
@ -219,7 +219,7 @@ namespace LocalGridServers
|
||||||
//should request Asset from storage manager
|
//should request Asset from storage manager
|
||||||
//but for now read from file
|
//but for now read from file
|
||||||
|
|
||||||
string dataPath = System.AppDomain.CurrentDomain.BaseDirectory ; //+ folder;
|
string dataPath = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory ,"assets"); //+ folder;
|
||||||
string fileName = Path.Combine(dataPath, filename);
|
string fileName = Path.Combine(dataPath, filename);
|
||||||
FileInfo fInfo = new FileInfo(fileName);
|
FileInfo fInfo = new FileInfo(fileName);
|
||||||
long numBytes = fInfo.Length;
|
long numBytes = fInfo.Length;
|
||||||
|
|
Loading…
Reference in New Issue