Hi, I'm having trouble with https and my CSS: I basically used what's shown in kotr-samples
head {
styleLink(url(MainCss))
}
And for my style definition:
@Location("/styles/main.css")
object MainCss
fun Route.styles() {
get<MainCss> {
call.respond(call.resolveResource("app.css")!!)
}
}
This works correctly without SSL, but when I start using https, the browser wouldn't load my css, as it's presented using basic http (here's my response):
<head>
<link rel="Stylesheet" type="text/css" href="<http://my.domain.com/styles/main.css>">
</head>
Any idea what I should modify to make it https friendly?