diff --git a/.gitignore b/.gitignore index 6652e87..1a72411 100644 --- a/.gitignore +++ b/.gitignore @@ -402,5 +402,4 @@ FodyWeavers.xsd /.idea/.idea.Grimoire/.idea/.gitignore /.idea/.idea.Grimoire/.idea/encodings.xml /.idea/.idea.Grimoire/.idea/indexLayout.xml -/Grimoire.Web/Grimoire_Data/ -/Grimoire.Tests/* \ No newline at end of file +/src/Grimoire_Data/ \ No newline at end of file diff --git a/src/config.json b/src/config.json new file mode 100644 index 0000000..83e5ebd --- /dev/null +++ b/src/config.json @@ -0,0 +1,39 @@ +{ + "AllowedHosts": "*", + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning", + "System.Net.Http.HttpClient.*": "Information" + } + }, + "Kestrel": { + "Endpoints": { + "Http": { + "Url": "http://0.0.0.0:9000" + } + } + }, + "Theme": "dark", + "RefreshEvery": "00:30:00", + "Mongo": "mongodb://srv.lol:7002/grimoire", + "Save": { + "To": "Grimoire_Data", + "SourceIcon": true, + "MangaCover": true, + "MangaChapter": false + }, + "Http": { + "Retries": 5, + "Delay": 500, + "UserAgents": [ + "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0", + "Mozilla/5.0 (X11; Ubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36 RuxitSynthetic/1.0 v3283331297382284845 t6205049005192687891", + "Mozilla/5.0 (iPhone; CPU iPhone OS 10_1_4; like Mac OS X) AppleWebKit/601.14 (KHTML, like Gecko) Chrome/51.0.1615.309 Mobile Safari/535.3", + "Mozilla / 5.0 (compatible; MSIE 10.0; Windows; U; Windows NT 10.4; WOW64 Trident / 6.0)", + "Mozilla/5.0 (Linux; U; Linux x86_64; en-US) AppleWebKit/534.29 (KHTML, like Gecko) Chrome/49.0.3483.101 Safari/534", + "Mozilla/5.0 (Windows; U; Windows NT 10.1;; en-US) AppleWebKit/535.14 (KHTML, like Gecko) Chrome/51.0.2258.396 Safari/600", + "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_5; en-US) AppleWebKit/600.21 (KHTML, like Gecko) Chrome/48.0.1544.246 Safari/536" + ] + } +} \ No newline at end of file