diff options
Diffstat (limited to 'src/main/kotlin/App.kt')
-rw-r--r-- | src/main/kotlin/App.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/App.kt b/src/main/kotlin/App.kt index f3cb8a0..5370f4b 100644 --- a/src/main/kotlin/App.kt +++ b/src/main/kotlin/App.kt @@ -50,7 +50,7 @@ fun main(args: Array<String>) { ) get( "/js/*", { ctx -> - ctx.contentType("text/js") + ctx.contentType("text/javascript") ctx.result(Thread.currentThread().contextClassLoader.getResourceAsStream("js/" + ctx.splat(0))) }, roles(Roles.GUEST, Roles.USER) |