diff --git a/Cargo.lock b/Cargo.lock index a1ee6ad..f6708b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1095,8 +1095,7 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "manifold" -version = "3.0.0" -source = "git+ssh://git@code.orbiter-radio.uk/source/mfold.git#57b79e7a5e9a8b04259dd618a5a48ada4b41ccac" +version = "3.1.0" dependencies = [ "built", "chrono", diff --git a/Cargo.toml b/Cargo.toml index cb25432..d64871a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,6 @@ diesel_migrations = "2.1.0" env_logger = "0.10.0" log = "0.4.20" manifold = { git = "ssh://git@code.orbiter-radio.uk/source/mfold.git" } -#manifold = { path = "/home/xyon/Workspace/manifold/" } +# manifold = { path = "/home/xyon/Workspace/manifold/" } poise = "0.5.5" tokio = { version = "1.16.1", features = ["sync", "macros", "rt-multi-thread"] } diff --git a/config/development.badgey.json b/config/development.badgey.json index 4ffb7e6..838bd9e 100644 --- a/config/development.badgey.json +++ b/config/development.badgey.json @@ -27,6 +27,16 @@ "cache_name": "cat_pics", "cache_mode": "Cache", "api_key": "live_nvupPQbrXjHy8jsZJ1stp72fzsRLR8jQby8IR3l9yMngqAU9gcTEV8RA0OOiK8zP" + }, + "dad_jokes": { + "source_uri": "https://icanhazdadjoke.com/search?limit=30", + "cache_name": "dad_jokes", + "cache_mode": "Cache" + }, + "nasa_apod": { + "source_uri": "https://api.nasa.gov/planetary/apod?api_key=NZfKclpoaO9HnvfvaCjeJ3csDecvIqNiABVw2YvN", + "cache_name": "nasa_apod", + "cache_mode": "NoCache" } } } diff --git a/config/production.badgey.json b/config/production.badgey.json index 7542caa..1912609 100644 --- a/config/production.badgey.json +++ b/config/production.badgey.json @@ -27,6 +27,16 @@ "cache_name": "cat_pics", "cache_mode": "Cache", "api_key": "live_nvupPQbrXjHy8jsZJ1stp72fzsRLR8jQby8IR3l9yMngqAU9gcTEV8RA0OOiK8zP" + }, + "dad_jokes": { + "source_uri": "https://icanhazdadjoke.com/search?limit=30", + "cache_name": "dad_jokes", + "cache_mode": "Cache" + }, + "nasa_apod": { + "source_uri": "https://api.nasa.gov/planetary/apod?api_key=NZfKclpoaO9HnvfvaCjeJ3csDecvIqNiABVw2YvN", + "cache_name": "nasa_apod", + "cache_mode": "NoCache" } } }