mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-28 05:31:04 +00:00
chore: Specify extension for static API files
This commit is contained in:
@@ -76,7 +76,10 @@ fun Application.configureRouting() {
|
||||
}
|
||||
}
|
||||
|
||||
staticResources("/", "/static/api") { contentType { ContentType.Application.Json } }
|
||||
staticResources("/", "/static/api") {
|
||||
contentType { ContentType.Application.Json }
|
||||
extensions("json")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user