chore: Specify extension for static API files

This commit is contained in:
oSumAtrIX 2024-01-29 10:57:47 +01:00
parent db0bfc3be5
commit 80c8083610
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 20 additions and 33 deletions

View File

@ -76,7 +76,10 @@ fun Application.configureRouting() {
} }
} }
staticResources("/", "/static/api") { contentType { ContentType.Application.Json } } staticResources("/", "/static/api") {
contentType { ContentType.Application.Json }
extensions("json")
}
} }
} }

View File

@ -1,16 +1,13 @@
{ {
"name": "ReVanced", "name": "ReVanced",
"about": "ReVanced was born out of Vanced's discontinuation and it is our goal to continue the legacy of what Vanced left behind. Thanks to ReVanced Patcher, it's possible to create long-lasting patches for nearly any Android app. ReVanced's patching system is designed to allow patches to work on new versions of the apps automatically with bare minimum maintenance.", "about": "ReVanced was born out of Vanced's discontinuation and it is our goal to continue the legacy of what Vanced left behind. Thanks to ReVanced Patcher, it's possible to create long-lasting patches for nearly any Android app. ReVanced's patching system is designed to allow patches to work on new versions of the apps automatically with bare minimum maintenance.",
"branding": "branding": {
{
"logo": "https://raw.githubusercontent.com/ReVanced/revanced-branding/main/assets/revanced-logo/revanced-logo.svg" "logo": "https://raw.githubusercontent.com/ReVanced/revanced-branding/main/assets/revanced-logo/revanced-logo.svg"
}, },
"contact": "contact": {
{
"email": "contact@revanced.app" "email": "contact@revanced.app"
}, },
"socials": "socials": [
[
{ {
"name": "Website", "name": "Website",
"url": "https://revanced.app", "url": "https://revanced.app",
@ -18,13 +15,11 @@
}, },
{ {
"name": "GitHub", "name": "GitHub",
"url": "https://github.com/revanced", "url": "https://github.com/revanced"
"preferred": false
}, },
{ {
"name": "Twitter", "name": "Twitter",
"url": "https://twitter.com/revancedapp", "url": "https://twitter.com/revancedapp"
"preferred": false
}, },
{ {
"name": "Discord", "name": "Discord",
@ -33,29 +28,23 @@
}, },
{ {
"name": "Reddit", "name": "Reddit",
"url": "https://www.reddit.com/r/revancedapp", "url": "https://www.reddit.com/r/revancedapp"
"preferred": false
}, },
{ {
"name": "Telegram", "name": "Telegram",
"url": "https://t.me/app_revanced", "url": "https://t.me/app_revanced"
"preferred": false
}, },
{ {
"name": "YouTube", "name": "YouTube",
"url": "https://www.youtube.com/@ReVanced", "url": "https://www.youtube.com/@ReVanced"
"preferred": false
} }
], ],
"donations": "donations": {
{ "wallets": [
"wallets":
[
{ {
"network": "Bitcoin", "network": "Bitcoin",
"currency_code": "BTC", "currency_code": "BTC",
"address": "bc1q4x8j6mt27y5gv0q625t8wkr87ruy8fprpy4v3f", "address": "bc1q4x8j6mt27y5gv0q625t8wkr87ruy8fprpy4v3f"
"preferred": false
}, },
{ {
"network": "Dogecoin", "network": "Dogecoin",
@ -66,24 +55,20 @@
{ {
"network": "Ethereum", "network": "Ethereum",
"currency_code": "ETH", "currency_code": "ETH",
"address": "0x7ab4091e00363654bf84B34151225742cd92FCE5", "address": "0x7ab4091e00363654bf84B34151225742cd92FCE5"
"preferred": false
}, },
{ {
"network": "Litecoin", "network": "Litecoin",
"currency_code": "LTC", "currency_code": "LTC",
"address": "LbJi8EuoDcwaZvykcKmcrM74jpjde23qJ2", "address": "LbJi8EuoDcwaZvykcKmcrM74jpjde23qJ2"
"preferred": false
}, },
{ {
"network": "Monero", "network": "Monero",
"currency_code": "XMR", "currency_code": "XMR",
"address": "46YwWDbZD6jVptuk5mLHsuAmh1BnUMSjSNYacozQQEraWSQ93nb2yYVRHoMR6PmFYWEHsLHg9tr1cH5M8Rtn7YaaGQPCjSh", "address": "46YwWDbZD6jVptuk5mLHsuAmh1BnUMSjSNYacozQQEraWSQ93nb2yYVRHoMR6PmFYWEHsLHg9tr1cH5M8Rtn7YaaGQPCjSh"
"preferred": false
} }
], ],
"links": "links": [
[
{ {
"name": "Open Collective", "name": "Open Collective",
"url": "https://opencollective.com/revanced", "url": "https://opencollective.com/revanced",
@ -91,8 +76,7 @@
}, },
{ {
"name": "GitHub Sponsors", "name": "GitHub Sponsors",
"url": "https://github.com/sponsors/ReVanced", "url": "https://github.com/sponsors/ReVanced"
"preferred": false
} }
] ]
} }