Merge branch 'release/v1.0.0' of https://github.com/ONLYOFFICE/DocSpace into release/v1.0.0

This commit is contained in:
Timofey Boyko 2023-03-13 11:33:41 +03:00
commit 5b07dfb502
7 changed files with 7 additions and 11 deletions

View File

@ -1,6 +1,6 @@
{
"name": "docspace",
"version": "1.2.0",
"version": "1.0.0",
"private": true,
"workspaces": {
"packages": [
@ -8,7 +8,7 @@
]
},
"engines": {
"node": ">=14",
"node": ">=18",
"yarn": ">=3"
},
"scripts": {

View File

@ -1,6 +1,6 @@
{
"name": "@docspace/client",
"version": "1.2.0",
"version": "1.0.0",
"private": true,
"homepage": "",
"scripts": {

View File

@ -1,6 +1,6 @@
{
"name": "@docspace/common",
"version": "1.2.0",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "echo 'skip it'",

View File

@ -1,6 +1,6 @@
{
"name": "@docspace/components",
"version": "1.2.0",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "echo 'skip it'",

View File

@ -1,6 +1,6 @@
{
"name": "@docspace/editor",
"version": "1.2.0",
"version": "1.0.0",
"private": true,
"homepage": "/doceditor",
"scripts": {

View File

@ -1,6 +1,6 @@
{
"name": "@docspace/login",
"version": "1.2.0",
"version": "1.0.0",
"private": true,
"homepage": "/login",
"scripts": {

View File

@ -83,10 +83,6 @@ public class WhitelabelController : BaseSettingsController
foreach (var l in inDto.Logo)
{
var key = Int32.Parse(l.Key);
if (key == (int)WhiteLabelLogoTypeEnum.Favicon && !(l.Value.Light.EndsWith("ico") || l.Value.Light.EndsWith("svg")))
{
throw new InvalidOperationException("Favicon must have .ico or .svg extension");
}
logoDict.Add(key, new KeyValuePair<string, string>(l.Value.Light, l.Value.Dark));
}