From a835350e0ff14f15124925df77c1368444245bc3 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 5 Jul 2021 08:39:22 +0530 Subject: Removed references to png images since they were not being used anyways. --- README.md | 2 +- app/Controllers/Http/RecipeController.js | 2 -- resources/views/others/new.edge | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index d6ff0ff..b379559 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ To add your recipe to ferdi-server, open `http://[YOUR FERDI-SERVER]/new` in you - `Author`: Author who created the recipe - `Name`: Name for your new service. Can contain spaces and unicode characters - `Service ID`: Unique ID for this recipe. Does not contain spaces or special characters (e.g. `google-drive`) -- `Link to PNG/SVG image`: Direct link to a 1024x1024 PNG image and SVG that is used as a logo inside the store. Please use jsDelivr when using a file uploaded to GitHub as raw.githubusercontent files won't load +- `Link to SVG image`: Direct link to a 1024x1024 SVG that is used as a logo inside the store. Please use jsDelivr when using a file uploaded to GitHub as raw.githubusercontent files won't load - `Recipe files`: Recipe files that you created using the [Franz recipe creation guide](https://github.com/meetfranz/plugins/blob/master/docs/integration.md). Please do *not* package your files beforehand - upload the raw files (you can drag and drop multiple files). ferdi-server will automatically package and store the recipe in the right format. Please also do not drag and drop or select the whole folder, select the individual files. ### Listing custom recipes diff --git a/app/Controllers/Http/RecipeController.js b/app/Controllers/Http/RecipeController.js index 9bfd92e..9d58708 100644 --- a/app/Controllers/Http/RecipeController.js +++ b/app/Controllers/Http/RecipeController.js @@ -61,7 +61,6 @@ class RecipeController { name: 'required|string', id: 'required|unique:recipes,recipeId', author: 'required|accepted', - png: 'required|url', svg: 'required|url', }); if (validation.fails()) { @@ -108,7 +107,6 @@ class RecipeController { featured: false, version: '1.0.0', icons: { - png: data.png, svg: data.svg, }, }), diff --git a/resources/views/others/new.edge b/resources/views/others/new.edge index 1b54558..96bd0ee 100644 --- a/resources/views/others/new.edge +++ b/resources/views/others/new.edge @@ -14,9 +14,6 @@

-
-
-

*These images must be publicly availible and have CORS enabled in order to work.

-- cgit v1.2.3-70-g09d2