diff --git a/data/configs/default.json b/data/configs/default.json index 57f8faa53..9e1d1669a 100644 --- a/data/configs/default.json +++ b/data/configs/default.json @@ -2,7 +2,7 @@ "name": "default", "services": [ { - "type": "Other hello", + "type": "Other", "name": "example", "icon": "https://c.tenor.com/o656qFKDzeUAAAAC/rick-astley-never-gonna-give-you-up.gif", "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" diff --git a/data/configs/low.json b/data/configs/low.json deleted file mode 100644 index c3482808d..000000000 --- a/data/configs/low.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "low", - "services": [ - { - "type": "I am ", - "name": "example", - "icon": "https://c.tenor.com/o656qFKDzeUAAAAC/rick-astley-never-gonna-give-you-up.gif", - "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" - } - ], - "settings": { - "searchBar": true, - "searchUrl": "https://www.google.com/search?q=", - "enabledModules": [] - } -} \ No newline at end of file diff --git a/data/configs/undefined.json b/data/configs/undefined.json deleted file mode 100644 index c92e56872..000000000 --- a/data/configs/undefined.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "true": "" -} \ No newline at end of file diff --git a/pages/tryconfig.tsx b/pages/tryconfig.tsx index 37d2c2565..6fb38734c 100644 --- a/pages/tryconfig.tsx +++ b/pages/tryconfig.tsx @@ -79,6 +79,7 @@ export default function TryConfig(props: any) { label="Config loader" onChange={(e) => { loadConfig(e ?? 'default'); + setCookies('config-name', e ?? 'default', { maxAge: 60 * 60 * 24 * 30 }); }} data={ // If config list is empty, return the current config