From 5b0830de4d76096405ab5e376ab6961bba1f900e Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Tue, 9 May 2023 03:51:33 +0300 Subject: [PATCH] Add empty strings init on App Creation --- apps/websiteapp.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/websiteapp.go b/apps/websiteapp.go index 57fa63c..d1850cc 100644 --- a/apps/websiteapp.go +++ b/apps/websiteapp.go @@ -38,6 +38,8 @@ type ApplicationsStorage struct { func (as *ApplicationsStorage) createApp(appName string, appId string, appPath string) error { newAppData := ApplicationManifest{ AppId: appId, + Js: []string{}, + Css: []string{}, } newAppFile := webfilesystem.FileHeader{