Configuration.js
Home
/
FileServer /
SPA /
src /
JS /
Tools /
Configuration.js
//Общие конфигурации
export default class Configuration {
static RooDirectoryID = -1;
static upload_chunk_size = 1048576;
static RegisteredExtension = ['.doc', '.docx', '.xls', '.xlsx', '.txt', '.pdf', '.jpg', '.png', '.jpeg', '.bmp', '.gif'];
static OpenRegisteredExtension =
[
{ Ext: ['.txt', '.doc', '.docx', '.xls', '.xlsx'], Service: 'https://view.officeapps.live.com/op/view.aspx?src=' },
];
//Заполнятся при старте запросом из WebApi
static EnviromentValue = "NoSet";
}